projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be62eb6
)
Missing return values (Coverity ID 204).
author
Ben Laurie
<ben@openssl.org>
Sat, 13 Dec 2008 17:00:53 +0000
(17:00 +0000)
committer
Ben Laurie
<ben@openssl.org>
Sat, 13 Dec 2008 17:00:53 +0000
(17:00 +0000)
crypto/comp/c_zlib.c
patch
|
blob
|
history
diff --git
a/crypto/comp/c_zlib.c
b/crypto/comp/c_zlib.c
index 0f34597e70427cf45dd1fe4a6c7c3195e77fea4f..eccfd091378667e025e8a69887cc276ed05a18e0 100644
(file)
--- a/
crypto/comp/c_zlib.c
+++ b/
crypto/comp/c_zlib.c
@@
-727,6
+727,7
@@
static long bio_zlib_ctrl(BIO *b, int cmd, long num, void *ptr)
case BIO_CTRL_RESET:
ctx->ocount = 0;
ctx->odone = 0;
+ ret = 1;
break;
case BIO_CTRL_FLUSH:
@@
-771,7
+772,7
@@
static long bio_zlib_ctrl(BIO *b, int cmd, long num, void *ptr)
}
ctx->obufsize = obs;
}
-
+ ret = 1;
break;
case BIO_C_DO_STATE_MACHINE:
@@
-783,7
+784,6
@@
static long bio_zlib_ctrl(BIO *b, int cmd, long num, void *ptr)
default:
ret = BIO_ctrl(b->next_bio, cmd, num, ptr);
break;
-
}
return ret;