summaryrefslogtreecommitdiffstats
path: root/common/mkdir_p.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2015-10-08 14:58:26 +0200
committerWerner Koch <wk@gnupg.org>2015-10-08 14:58:26 +0200
commita2600e42f91aa7187f3d6ac74cfb5e4c22ed4a58 (patch)
tree9d7d5362b011f512db5a1bc377f0c8bf5c3562ef /common/mkdir_p.c
parentgpg: Pass CTRL parameter to all key listing functions. (diff)
downloadgnupg2-a2600e42f91aa7187f3d6ac74cfb5e4c22ed4a58.tar.xz
gnupg2-a2600e42f91aa7187f3d6ac74cfb5e4c22ed4a58.zip
Fix two unused/possible-uninitialized var warnings.
--
Diffstat (limited to 'common/mkdir_p.c')
-rw-r--r--common/mkdir_p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/mkdir_p.c b/common/mkdir_p.c
index 6a5460010..53c3f0fdb 100644
--- a/common/mkdir_p.c
+++ b/common/mkdir_p.c
@@ -36,7 +36,7 @@ amkdir_p (char **directory_components)
int count;
char **dirs;
int i;
- int rc;
+ int rc = 0;
for (count = 0; directory_components[count]; count ++)
;