projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6da8133
)
[libFuzzer] fix a warning from Wunreachable-code-loop-increment reported by Christian...
author
Kostya Serebryany
<kcc@google.com>
Mon, 15 May 2017 17:39:42 +0000
(17:39 +0000)
committer
Kostya Serebryany
<kcc@google.com>
Mon, 15 May 2017 17:39:42 +0000
(17:39 +0000)
llvm-svn: 303087
llvm/lib/Fuzzer/FuzzerMutate.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Fuzzer/FuzzerMutate.cpp
b/llvm/lib/Fuzzer/FuzzerMutate.cpp
index
a84e6ee
..
e60d413
100644
(file)
--- a/
llvm/lib/Fuzzer/FuzzerMutate.cpp
+++ b/
llvm/lib/Fuzzer/FuzzerMutate.cpp
@@
-222,7
+222,7
@@
DictionaryEntry MutationDispatcher::MakeDictionaryEntryFromCMP(
if (!Cur) break;
Positions[NumPositions++] = Cur - Data;
}
- if (!NumPositions)
break
;
+ if (!NumPositions)
continue
;
return DictionaryEntry(W, Positions[Rand(NumPositions)]);
}
DictionaryEntry DE(W);