mirror of
https://github.com/troglobit/libite.git
synced 2026-11-07 16:01:01 +00:00
Remove UNUSED() macro, just use -Wno-unused instead
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
fe82ab953c
commit
705b402344
3 files changed
+2
-11
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user