Package: dx / 1:4.4.4-9

50-non-void-function-return-fix.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Non-void functions should return a value fix
 This patch fixes a FTBFS with clang instead of gcc.
Author: Graham Inggs <graham@nerve.org.za>
Forwarded: no
Last-Update: 2014-04-14
--- a/src/exec/libdx/lock.c
+++ b/src/exec/libdx/lock.c
@@ -936,7 +936,7 @@
     if (_lock->knt == 0)
     {
         DXSetError(ERROR_INTERNAL, "Unlocking an unlocked lock?");
-	return;
+	return ERROR;
     }
 
     /*