File DirectFB-0.9.24-warning.patch of Package DirectFB

--- tests/direct_test.c
+++ tests/direct_test.c:
@@ -58,6 +58,7 @@
      DirectLogType  log_type  = DLT_STDERR;
      const char    *log_param = NULL;
      DirectLog     *log;
+     void * discard;
 
 
      for (i=1; i<argc; i++) {
@@ -91,7 +92,7 @@
 
 
      /* Test memory leak detector by not freeing this one. */
-     D_MALLOC( 1351 );
+     discard = D_MALLOC( 1351 );
 
      D_INFO( "Direct/Test: Application starting...\n" );
 
openSUSE Build Service is sponsored by