Debian Codegraph @

debian/patches/fix_Wreturn.patch

raw symbols SCIP
1 Description: fix FTBFS with clang instead of gcc
2 clang is more picky if a function is declared as returning
3 a value and then it doesn't.
4 Author: Nicolas Sévelin-Radiguet <[email protected]>
5 Reviewed-by: IOhannes m zmölnig <[email protected]>
6 Last-Update: 2014-04-05
7
8 --- pd-unauthorized.orig/countund.c
9 +++ pd-unauthorized/countund.c
10 @@ -80,7 +80,7 @@
11 if ( flimit < 0 )
12 {
13 post( "countund~: wrong count limit" );
14 - return;
15 + return NULL;
16 }
17 else
18 {
19 @@ -110,7 +110,7 @@
20 }
21 }
22 outlet_float( x->x_obj.ob_outlet, x->x_value );
23 - return;
24 + return NULL;
25 }
26
27 void countund_setup(void)
28 --- pd-unauthorized.orig/randomblock~.c
29 +++ pd-unauthorized/randomblock~.c
30 @@ -76,7 +76,7 @@
31 if ( flimit < 0 || flimit > RAND_MAX )
32 {
33 post( "randomblock~: wrong random limit" );
34 - return;
35 + return NULL;
36 }
37 else
38 {