va_list argument is never useful at compile time

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2345 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2006-05-03 22:53:50 +00:00
parent dcc59f4cf8
commit 0fa135a2db
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -164,11 +164,11 @@ typedef unsigned int wint_t;
#ifdef __GNUC__
# define PRINTF_FUNCTION(formatArg, firstArg) \
__attribute__((format(printf, formatArg, firstArg)))
# define VPRINTF_FUNCTION(formatArg, arglist) \
# define VPRINTF_FUNCTION(formatArg) \
__attribute__((format(printf, formatArg, 0)))
#else
# define PRINTF_FUNCTION(formatArg, firstArg)
# define VPRINTF_FUNCTION(formatArg, arglist)
# define VPRINTF_FUNCTION(formatArg)
#endif
#endif /* _PORT_H */