summaryrefslogtreecommitdiffstats
path: root/proxy/src
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-04-03 22:17:37 -0400
committerSimo Sorce <simo@redhat.com>2013-04-03 22:51:32 -0400
commit45662442563e855c2778faa2373758460d707971 (patch)
treee367c0403f3858b9dff9b3941aab277e6d7a4b3a /proxy/src
parent58e065ff7f63a231b2fe6f88a81b6c5e4cb206a1 (diff)
downloadgss-proxy-45662442563e855c2778faa2373758460d707971.tar.gz
gss-proxy-45662442563e855c2778faa2373758460d707971.tar.xz
gss-proxy-45662442563e855c2778faa2373758460d707971.zip
Fix use of unintialized variable
Found by Coverity Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'proxy/src')
-rw-r--r--proxy/src/gp_conv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy/src/gp_conv.c b/proxy/src/gp_conv.c
index cccfe16..0b177ee 100644
--- a/proxy/src/gp_conv.c
+++ b/proxy/src/gp_conv.c
@@ -292,7 +292,7 @@ int gp_conv_err_to_gssx_string(uint32_t status, int type, gss_OID oid,
uint32_t msg_ctx;
gss_buffer_desc gssbuf;
char *str, *t;
- int ret;
+ int ret = 0;
msg_ctx = 0;
str = NULL;