aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include/port_before.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/include/port_before.h')
-rw-r--r--lib/libc/include/port_before.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/include/port_before.h b/lib/libc/include/port_before.h
index beef71d02607b..304dd66df03fc 100644
--- a/lib/libc/include/port_before.h
+++ b/lib/libc/include/port_before.h
@@ -17,6 +17,6 @@
var = _u.v; \
} while (0)
-#define UNUSED(x) (x) = (x)
+#define UNUSED(x) (void)(x)
#endif /* _PORT_BEFORE_H_ */