summaryrefslogtreecommitdiff
path: root/src/delta/delta.c
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-05-16 14:22:45 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-21 18:51:44 +0200
commitd966a7b3631a54602297ef3bff1dcaf35cbefd12 (patch)
treeb8ab4102a7946d9d3afea3e8101d0a1ec3d7c18b /src/delta/delta.c
parentc3ba62509efe274c2bf6482056044e6fab65fec0 (diff)
delta/delta.c: initialize bottom for fail state
Diffstat (limited to 'src/delta/delta.c')
-rw-r--r--src/delta/delta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/delta/delta.c b/src/delta/delta.c
index 1a5b08a7d..4694fc8bc 100644
--- a/src/delta/delta.c
+++ b/src/delta/delta.c
@@ -231,7 +231,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;