Remove UNUSED() macro, just use -Wno-unused instead

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-06-30 17:36:10 +02:00
1 parent fe82ab953c
commit 705b402344
3 files changed
+2 -11

No files matched your search

-5
View File
@@ -156,11 +156,6 @@ static inline int erase(const char *path)
#define NELEMS(array) (sizeof(array) / sizeof(array[0]))
#endif
/* Mark a function variable as unused, useful for generic callbacks */
#ifndef UNUSED
#define UNUSED(x) UNUSED_ ## x __attribute__ ((unused))
#endif
/* Does directory end with a slash? */
static inline int fisslashdir(char *dir)
{