Fix compilation warning.

xargs.c: In function 'fopen_cloexec_for_read_only':
xargs.c:387:1: warning: control reaches end of non-void function [-Wreturn-type]
* xargs/xargs.c (fopen_cloexec_for_read_only): Return result.
This commit is contained in:
Dmitry V. Levin 2015-12-28 19:54:43 +03:00 committed by James Youngman
parent 020ba5727f
commit e28e76c14d

View File

@ -383,6 +383,7 @@ static FILE* fopen_cloexec_for_read_only (const char *file_name)
errno = saved_errno;
return NULL;
}
return result;
}
}