summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-07-24 06:54:16 +0200
committerStef Walter <stefw@gnome.org>2012-07-24 06:54:16 +0200
commitc0251b132cad98318be0565f676b9fa92dd1b8b4 (patch)
treeabb2ab304f1bc591a1d3922f4cab9de543394ee7
parent45c4936ba0d5e3de7813c47811b277bed1c71576 (diff)
downloadp11-kit-c0251b132cad98318be0565f676b9fa92dd1b8b4.tar.gz
Fix compiler warning about uninitialized variable
-rw-r--r--p11-kit/modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/modules.c b/p11-kit/modules.c
index 69fa88f..f965b5c 100644
--- a/p11-kit/modules.c
+++ b/p11-kit/modules.c
@@ -360,7 +360,7 @@ is_module_enabled_unlocked (const char *name,
const char *progname;
const char *enable_in;
const char *disable_in;
- int enable;
+ int enable = 0;
enable_in = _p11_hash_get (config, "enable-in");
disable_in = _p11_hash_get (config, "disable-in");