File nvu-retval.patch of Package nvu

Index: expat/xmlparse/xmlparse.c
================================================================================
--- expat/xmlparse/xmlparse.c
+++ expat/xmlparse/xmlparse.c
@@ -2103,6 +2103,7 @@
     abort();
   }
   /* not reached */
+  return 0;
 }
 
 #endif /* XML_DTD */
--- other-licenses/libical/src/libical/icaltime.c
+++ other-licenses/libical/src/libical/icaltime.c
@@ -768,12 +768,11 @@
       if (doy > days_in_year[is_leap][month]) {
 	tt.month = month + 1;
 	tt.day = doy - days_in_year[is_leap][month];
-	return tt;
+	break;
       }
     }
 
-    /* Shouldn't reach here. */
-    assert (0);
+    return tt;
 }
 
 struct icaltimetype icaltime_null_time()
--- other-licenses/libical/src/libicalss/icaldirset.c
+++ other-licenses/libical/src/libicalss/icaldirset.c
@@ -673,6 +673,7 @@
 {
     fprintf(stderr," icaldirset_fetch_match is not implemented\n");
     assert(0);
+    return 0;
 }
 
 
openSUSE Build Service is sponsored by