File deng-va-list.diff of Package doomsday

From: Andres Schwab <schwab@suse.de>
Date: 2013-03-19 17:07:47+0000

Remove non-portable use of va_list

---
 doomsday/client/src/con_main.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: doomsday-1.11.0/doomsday/client/src/con_main.cpp
===================================================================
--- doomsday-1.11.0.orig/doomsday/client/src/con_main.cpp
+++ doomsday-1.11.0/doomsday/client/src/con_main.cpp
@@ -1898,7 +1898,7 @@ static void conPrintf(int flags, const c
     const char* text = 0;
 #endif
 
-    if(format && format[0] && args)
+    if(format && format[0])
     {
         if(prbuff == NULL)
             prbuff = (char *) M_Malloc(PRBUFF_SIZE);
openSUSE Build Service is sponsored by