Package: gdis
Version: 0.90
Severity: minor
Usertags: clang-ftbfs

Hello,

Using the clang rebuild infrastructure http://clang.debian.net/, your
package fails to build with clang (instead of gcc).

You can see the full log here:
http://clang.debian.net/logs/2013-07-14/gdis_0.90-4_unstable_clang.log

The attached patch fixes it.

Thanks,
Sylvestre
Index: gdis-0.90/grid.c
===================================================================
--- gdis-0.90.orig/grid.c	2008-09-25 04:10:56.000000000 +0200
+++ gdis-0.90/grid.c	2013-11-01 14:35:38.901531431 +0100
@@ -57,8 +57,6 @@
 #ifdef WITH_GRISU
 if (grid_table)
   g_hash_table_replace(grid_table, g_strdup(name), g_strdup(value));
-#else
-return(NULL);
 #endif
 }
 
@@ -79,8 +77,6 @@
 #ifdef WITH_GRISU
 if (grid_table)
   g_hash_table_remove(grid_table, name);
-#else
-return(NULL);
 #endif
 }
 

Reply via email to