some warnings fixes

This commit is contained in:
Dominik Maier
2020-08-26 14:45:59 +02:00
parent 4be0ea596b
commit 33e58c1d4e
5 changed files with 14 additions and 5 deletions

View File

@ -381,6 +381,7 @@ bool AFLLTOPass::runOnModule(Module &M) {
bool HasStr2 = getConstantStringInfo(Str2P, TmpStr);
if (TmpStr.empty())
HasStr2 = false;
(void) HasStr2 /* never read */
else
Str2 = TmpStr.str();