aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scd/app-nks.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/scd/app-nks.c b/scd/app-nks.c
index c83217fd0..19a33ed12 100644
--- a/scd/app-nks.c
+++ b/scd/app-nks.c
@@ -1125,7 +1125,10 @@ parse_pwidstr (const char *pwidstr, int new_mode, int *r_sigg, int *r_pwid)
"for the key to create qualified signatures."));
}
else
- desc = NULL;
+ {
+ *r_pwid = 0; /* Only to avoid gcc warning in calling function. */
+ desc = NULL; /* Error. */
+ }
return desc;
}