aboutsummaryrefslogtreecommitdiff
path: root/gost_omac.c
diff options
context:
space:
mode:
authorVitaly Chikunov <vt@altlinux.org>2021-12-03 12:04:06 +0300
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>2021-12-11 19:45:14 +0300
commitb5613a2844470fd983cc3681633681a02ef6b44e (patch)
tree8ab192ecccc606530f3021d3f1061fc53ae36670 /gost_omac.c
parent8c81c6fde1485fc27f88b4ffbcd8217a294c2215 (diff)
downloadgost-engine-b5613a2844470fd983cc3681633681a02ef6b44e.zip
gost-engine-b5613a2844470fd983cc3681633681a02ef6b44e.tar.gz
gost-engine-b5613a2844470fd983cc3681633681a02ef6b44e.tar.bz2
MSVC: Fix unreachable code warning
Errors are like this: gost_pmeth.c(188): warning C4702: unreachable code gost_grasshopper_cipher.c(909): warning C4702: unreachable code Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
Diffstat (limited to 'gost_omac.c')
-rw-r--r--gost_omac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gost_omac.c b/gost_omac.c
index 71dd38d..648cd8f 100644
--- a/gost_omac.c
+++ b/gost_omac.c
@@ -255,7 +255,6 @@ int omac_imit_ctrl(EVP_MD_CTX *ctx, int type, int arg, void *ptr)
GOSTerr(GOST_F_OMAC_IMIT_CTRL, GOST_R_BAD_ORDER);
return 0;
}
- return 0;
#endif
default:
return 0;