mirror of
https://https.git.savannah.gnu.org/git/findutils.git
synced 2026-01-26 15:39:06 +00:00
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:
parent
020ba5727f
commit
e28e76c14d
@ -383,6 +383,7 @@ static FILE* fopen_cloexec_for_read_only (const char *file_name)
|
||||
errno = saved_errno;
|
||||
return NULL;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user