tools/nolibc: drop unused variables
authorThomas Weißschuh <linux@weissschuh.net>
Thu, 3 Aug 2023 07:28:45 +0000 (09:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Aug 2023 03:17:07 +0000 (05:17 +0200)
Nobody needs it, get rid of it.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
tools/include/nolibc/sys.h

index 56f63eb48a1b6f07a533a617c5a1014c4878c106..e12dd962c5788ae365f51c5ce1ec2a520108f752 100644 (file)
@@ -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;