aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/auth/factotum/p9cr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/auth/factotum/p9cr.c')
-rw-r--r--src/cmd/auth/factotum/p9cr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/auth/factotum/p9cr.c b/src/cmd/auth/factotum/p9cr.c
index 0d9c4879..1c3f21e1 100644
--- a/src/cmd/auth/factotum/p9cr.c
+++ b/src/cmd/auth/factotum/p9cr.c
@@ -65,6 +65,7 @@ p9crclient(Conv *c)
res = nil;
ret = -1;
attr = c->attr;
+ astype = -1;
if(c->proto == &p9cr){
astype = AuthChal;
@@ -131,6 +132,7 @@ p9crclient(Conv *c)
ret = 0;
out:
+ USED(astype);
keyclose(k);
if(c->attr != attr)
freeattr(attr);