File msi.c_no-return-in-nonvoid-function.patch of Package tox-git

diff -urw old/toxav/msi.c new/toxav/msi.c
--- old/toxav/msi.c	2014-05-26 19:36:39.280971420 +0600
+++ new/toxav/msi.c	2014-05-26 19:48:22.304978289 +0600
@@ -729,12 +729,16 @@
 int call_id_bigger( const uint8_t *first, const uint8_t *second)
 {
     int i = 0;
+    int r = 0;
 
     for (; i < CALL_ID_LEN; i ++) {
-
-        if ( first[i] != second[i] )
-            return first[i] > second [i] ? 0 : 1;
+	/* this is super lame */
+        if ( first[i] > second[i] )
+            r = 0;
+	else
+	    r = 1;
     }
+    return r;
 }
 
 
openSUSE Build Service is sponsored by