From: Derrick Brashear Date: Tue, 29 Jun 2010 18:32:38 +0000 (-0400) Subject: klog warning fix X-Git-Tag: openafs-devel-1_5_75~47 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=7b1bfb4caa800de398c7955cc75adda2a64fdd99;p=packages%2Fo%2Fopenafs.git klog warning fix fix warning-found uninitialized variable in klog.krb5 Change-Id: Id4c78e2ceef82fcc7fbb6cdae7b6d07d74495547 Reviewed-on: http://gerrit.openafs.org/2281 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/aklog/klog.c b/src/aklog/klog.c index 0d13578d2..0ad432c9e 100644 --- a/src/aklog/klog.c +++ b/src/aklog/klog.c @@ -727,7 +727,7 @@ CommandProc(struct cmd_syndesc *as, void *arock) if (i > MAXKTCREALMLEN-1) i = MAXKTCREALMLEN-1; memcpy(aclient->cell, realm_data(k5context, afscred->client), i); if (!noprdb) { - int viceid; + int viceid = 0; k5_to_k4_name(k5context, afscred->client, aclient); code = whoami(atoken, cellconfig, aclient, &viceid); if (code) {