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

--- perl/Amanda/MainLoop.c
+++ perl/Amanda/MainLoop.c
@@ -1500,6 +1500,7 @@
  static void amglue_source_remove(amglue_Source *self); 
 SWIGINTERN amglue_Source *new_amglue_Source(){
 	    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