mountd: Remove unneeded cast
Reported by: kib MFC after: 1 week X MFC With: r324007
This commit is contained in:
parent
16b20104c4
commit
08db33b929
@ -1936,7 +1936,7 @@ add_expdir(struct dirlist **dpp, char *cp, int len)
|
||||
{
|
||||
struct dirlist *dp;
|
||||
|
||||
dp = (struct dirlist *)malloc(sizeof (struct dirlist));
|
||||
dp = malloc(sizeof (struct dirlist));
|
||||
if (dp == (struct dirlist *)NULL)
|
||||
out_of_mem();
|
||||
dp->dp_left = *dpp;
|
||||
|
Loading…
Reference in New Issue
Block a user