Message ID | 20230731-nolibc-warnings-v1-3-74973d2a52d7@weissschuh.net (mailing list archive) |
---|---|
State | Accepted |
Commit | f2f5eaefa17e4c432ffd22577682c21543ee39cf |
Headers | show |
Series | tools/nolibc: enable compiler warnings | expand |
diff --git a/tools/include/nolibc/sys.h b/tools/include/nolibc/sys.h index 8bfe7db20b80..889ccf5f0d56 100644 --- a/tools/include/nolibc/sys.h +++ b/tools/include/nolibc/sys.h @@ -738,7 +738,6 @@ static __attribute__((unused)) int open(const char *path, int flags, ...) { mode_t mode = 0; - int ret; if (flags & O_CREAT) { va_list args;
Nobody needs it, get rid of it. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> --- tools/include/nolibc/sys.h | 1 - 1 file changed, 1 deletion(-)