File amanda-2.6.1p1-return_val.patch of Package amanda.17859

Index: perl/Amanda/MainLoop.c
===================================================================
--- perl/Amanda/MainLoop.c.orig
+++ perl/Amanda/MainLoop.c
@@ -1581,6 +1581,7 @@ void quit(void) {
  static void amglue_source_remove(amglue_Source *self); 
 SWIGINTERN amglue_Source *new_amglue_Source(void){
 	    die("Amanda::MainLoop::Source is an abstract base class");
+	    return NULL;
 	}
 SWIGINTERN void delete_amglue_Source(amglue_Source *self){
 	    amglue_source_unref(self);
openSUSE Build Service is sponsored by