From 2ef99ea7b09f44c8576f8c5a12ab83e79cbd7877 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Thu, 2 Jun 2005 15:48:28 +0000 Subject: (svn r2395) - Fix: oops, forgot a break in a console switch. --- console.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'console.c') diff --git a/console.c b/console.c index ebe47a87c..763996328 100644 --- a/console.c +++ b/console.c @@ -499,7 +499,7 @@ static void IConsoleHookAdd(IConsoleHooks *hooks, IConsoleHookTypes type, IConso case ICONSOLE_HOOK_POST_ACTION: hooks->post = proc; break; - default: NOT_REACHED(); + default: NOT_REACHED(); } } @@ -526,7 +526,7 @@ static bool IConsoleHookHandle(const IConsoleHooks *hooks, IConsoleHookTypes typ case ICONSOLE_HOOK_POST_ACTION: proc = hooks->post; break; - default: NOT_REACHED(); + default: NOT_REACHED(); } return (proc == NULL) ? true : proc(); @@ -925,6 +925,7 @@ static char *IConsoleVarGetStringValue(const IConsoleVar *var) break; case ICONSOLE_VAR_STRING: value = (char*)var->addr; + break; default: NOT_REACHED(); } -- cgit v1.2.3-54-g00ecf