diff options
author | Russ Allbery <rra@stanford.edu> | 2008-01-17 00:00:00 +0000 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2008-01-17 00:00:00 +0000 |
commit | 2bc1f6cb234cc88f4f5ca82ed46ff06eb49bfa19 (patch) | |
tree | 27b519dfc6dce4a8a9bf04710f534abaa917c4e5 /client/wallet.c | |
parent | bf4980fed2bd26260c45d793677e1f5649f06f2d (diff) |
Initialize the temporary variable when getting numbers from appdefaults.
Diffstat (limited to 'client/wallet.c')
-rw-r--r-- | client/wallet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/wallet.c b/client/wallet.c index 28d27e8..d48a52c 100644 --- a/client/wallet.c +++ b/client/wallet.c @@ -90,7 +90,7 @@ default_string(krb5_context ctx, const char *opt, const char *defval, static void default_number(krb5_context ctx, const char *opt, int defval, int *result) { - char *tmp; + char *tmp = NULL; krb5_appdefault_string(ctx, "wallet", NULL, opt, "", &tmp); if (tmp != NULL && tmp[0] != '\0') |