Silence an annoying GCC warning about use of an uninitialized variable. Even

making the other switch case unreachable, or sinking the 'continue' into it
doesn't silence this.

llvm-svn: 107745
This commit is contained in:
Chandler Carruth 2010-07-07 00:36:56 +00:00
parent f0e551d4f4
commit 509a9ce9da
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ void IdempotentOperationChecker::VisitEndAnalysis(ExplodedGraph &G,
hash.begin(); i != hash.end(); ++i) {
if (i->second != Impossible) {
// Select the error message.
const char *msg;
const char *msg = 0;
switch (i->second) {
case Equal:
msg = "idempotent operation; both operands are always equal in value";