Skip to content

Commit e72dbac

Browse files
committed
wolfcrypt/src/cmac.c: mitigate clang-analyzer-deadcode.DeadStores in wc_CmacUpdate().
1 parent e56971d commit e72dbac

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

wolfcrypt/src/cmac.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ int wc_CmacUpdate(Cmac* cmac, const byte* in, word32 inSz)
248248
}
249249
}
250250
#else
251+
(void)ret;
251252
ret = wc_CmacUpdateAes(cmac, in, inSz);
252253
#endif
253254
}; break;

0 commit comments

Comments
 (0)