SHA256
1
0
forked from pool/amanda
amanda/amanda-2.6.1p1-return_val.patch

13 lines
488 B
Diff

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);