summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2023-08-03 09:28:45 +0200
committerWilly Tarreau <w@1wt.eu>2023-08-23 05:17:07 +0200
commitf2f5eaefa17e4c432ffd22577682c21543ee39cf (patch)
tree121a44ab3115e6059c49a4dbf8cddebbda69d71e /tools
parent5c01259b1256ebc59bf6d64b396e7464f21c2583 (diff)
tools/nolibc: drop unused variables
Nobody needs it, get rid of it. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'tools')
-rw-r--r--tools/include/nolibc/sys.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/include/nolibc/sys.h b/tools/include/nolibc/sys.h
index 56f63eb48a1b..e12dd962c578 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;