Resolve warning.
authorChristoph Mallon <christoph.mallon@gmx.de>
Thu, 25 Sep 2008 15:04:52 +0000 (15:04 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Thu, 25 Sep 2008 15:04:52 +0000 (15:04 +0000)
[r22270]

ir/debug/debugger.c

index ff43b2c..91bfc23 100644 (file)
@@ -436,9 +436,9 @@ static const char *reason_str(bp_reasons_t reason)
        case BP_ON_REMIRG:   return "removing IRG";
        case BP_ON_NEW_ENT:  return "entity creation";
        case BP_ON_NEW_TYPE: return "type creation";
+       case BP_MAX_REASON:  break;
        }
        panic("unsupported reason");
-       return "unknown";
 }  /* reason_str */
 
 /**