diff options
author | Russ Cox <rsc@swtch.com> | 2012-10-21 11:25:08 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2012-10-21 11:25:08 -0400 |
commit | 0cfb376070a4bef7b4168a9795e025437e1be79f (patch) | |
tree | 9cea2b3befd9183d11ccc0745a81658d5956e4d7 /src/cmd/auth | |
parent | 34d629c8572518afe0a1d5698d7b184938e35a8f (diff) | |
download | plan9port-0cfb376070a4bef7b4168a9795e025437e1be79f.tar.gz plan9port-0cfb376070a4bef7b4168a9795e025437e1be79f.tar.bz2 plan9port-0cfb376070a4bef7b4168a9795e025437e1be79f.zip |
fix clang warnings reported by Tuncer Ayaz
R=rsc
http://codereview.appspot.com/6744054
Diffstat (limited to 'src/cmd/auth')
-rw-r--r-- | src/cmd/auth/dsasign.c | 1 | ||||
-rw-r--r-- | src/cmd/auth/factotum/chap.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/auth/dsasign.c b/src/cmd/auth/dsasign.c index 1387dab6..913385f9 100644 --- a/src/cmd/auth/dsasign.c +++ b/src/cmd/auth/dsasign.c @@ -146,6 +146,7 @@ start: fmtprint(&fmt, "%s\n", p); } sysfatal("did not find end of message"); + return; // silence clang warning end: text = fmtstrflush(&fmt); diff --git a/src/cmd/auth/factotum/chap.c b/src/cmd/auth/factotum/chap.c index b27f64a7..fa44db96 100644 --- a/src/cmd/auth/factotum/chap.c +++ b/src/cmd/auth/factotum/chap.c @@ -122,6 +122,7 @@ chapclient(Conv *c) chal = nil; k = nil; attr = c->attr; + res = nil; if(c->proto == &chap){ astype = AuthChap; |