[geany/geany] 25c1d2: objc: Remove unnecessary redefinition of UNUSED

Jiří Techet git-noreply at xxxxx
Sat Sep 10 07:26:28 UTC 2016


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Sun, 07 Aug 2016 16:31:30 UTC
Commit:      25c1d220cf5b54d0908fc4b8bf1768043d0447bf
             https://github.com/geany/geany/commit/25c1d220cf5b54d0908fc4b8bf1768043d0447bf

Log Message:
-----------
objc: Remove unnecessary redefinition of UNUSED


Modified Paths:
--------------
    ctags/parsers/objc.c

Modified: ctags/parsers/objc.c
11 lines changed, 0 insertions(+), 11 deletions(-)
===================================================================
@@ -22,17 +22,6 @@
 #include "routines.h"
 #include "vstring.h"
 
-/* To get rid of unused parameter warning in
- * -Wextra */
-#ifdef UNUSED
-#elif defined(__GNUC__)
-# define UNUSED(x) UNUSED_ ## x __attribute__((unused))
-#elif defined(__LCLINT__)
-# define UNUSED(x) /*@unused@*/ x
-#else
-# define UNUSED(x) x
-#endif
-
 typedef enum {
 	K_INTERFACE,
 	K_IMPLEMENTATION,



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list