summaryrefslogtreecommitdiff
path: root/src/binfmt.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-09-23 01:43:28 +0200
committerLennart Poettering <lennart@poettering.net>2011-09-23 01:45:34 +0200
commit8ea913b2eaadbd92e069ea6b71cc5f5df409decf (patch)
tree17801331900df94b4cf05fa232d755fac7f3929a /src/binfmt.c
parent0fe9972f3c2e20b649e0e7da0e61945253622128 (diff)
coverity: fix a couple of bugs found by coverity
Diffstat (limited to 'src/binfmt.c')
-rw-r--r--src/binfmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binfmt.c b/src/binfmt.c
index 552d8cc227..e8d6524391 100644
--- a/src/binfmt.c
+++ b/src/binfmt.c
@@ -33,7 +33,7 @@
#include "util.h"
static int delete_rule(const char *rule) {
- char *x, *fn, *e;
+ char *x, *fn = NULL, *e;
int r;
assert(rule[0]);