[systemd-devel] [PATCH] delta/delta.c: initialize bottom for fail state

harald at redhat.com harald at redhat.com
Wed May 16 05:22:45 PDT 2012


From: Harald Hoyer <harald at redhat.com>

---
 src/delta/delta.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/delta/delta.c b/src/delta/delta.c
index 2e33759..a440472 100644
--- a/src/delta/delta.c
+++ b/src/delta/delta.c
@@ -177,7 +177,7 @@ finish:
 static int process_suffix(const char *prefixes, const char *suffix) {
         const char *p;
         char *f;
-        Hashmap *top, *bottom;
+        Hashmap *top, *bottom=NULL;
         int r = 0, k;
         Iterator i;
         int n_found = 0;
-- 
1.7.10.1



More information about the systemd-devel mailing list