dovecot-2.0: Static analyzer warning fix.
dovecot at dovecot.org
dovecot at dovecot.org
Tue Apr 13 15:49:45 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/caf8c5d39ab2
changeset: 11139:caf8c5d39ab2
user: Timo Sirainen <tss at iki.fi>
date: Tue Apr 13 15:49:14 2010 +0300
description:
Static analyzer warning fix.
diffstat:
src/auth/mech-gssapi.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 892d28020605 -r caf8c5d39ab2 src/auth/mech-gssapi.c
--- a/src/auth/mech-gssapi.c Tue Apr 13 14:34:25 2010 +0300
+++ b/src/auth/mech-gssapi.c Tue Apr 13 15:49:14 2010 +0300
@@ -552,7 +552,7 @@
struct gssapi_auth_request *gssapi_request =
(struct gssapi_auth_request *)request;
gss_buffer_desc inbuf;
- int ret;
+ int ret = -1;
inbuf.value = (void *)data;
inbuf.length = data_size;
@@ -568,7 +568,6 @@
ret = mech_gssapi_unwrap(gssapi_request, inbuf);
break;
default:
- ret = -1;
i_unreached();
}
if (ret < 0)
More information about the dovecot-cvs
mailing list