exim/no-return-in-find_variable.patch

18 lines
429 B
Diff

Author: Lars Mueller <lmuelle@suse.com>
Subject: no-return-in-nonvoid-function expand.c:1882
Reported upstream: http://bugs.exim.org/show_bug.cgi?id=1506
Index: exim-4.83/src/expand.c
===================================================================
--- exim-4.83.orig/src/expand.c
+++ exim-4.83/src/expand.c
@@ -1879,6 +1879,8 @@ switch (vp->type)
#endif
}
+
+return NULL; /* Unknown variable name */
}