diff options
author | Ben Laurie <ben@openssl.org> | 2008-12-13 17:19:40 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2008-12-13 17:19:40 +0000 |
commit | 1f6e9bce21c4459cca7e23a4ceab8169f1092b25 (patch) | |
tree | 679259b7c8d10efdbb64af3e791ad42f29a6dc21 | |
parent | 434ba03ca956e3f9d38cdb5d696c44fcd0993fc3 (diff) | |
download | openssl-1f6e9bce21c4459cca7e23a4ceab8169f1092b25.tar.gz |
Missing return values (Coverity ID 204).
-rw-r--r-- | crypto/comp/c_zlib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/comp/c_zlib.c b/crypto/comp/c_zlib.c index 0f34597e70..0e503bf177 100644 --- 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: |