Michael Stefaniuc : winhelp: Add missing case label "default".
Found by Smatch (unreached code).
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jul 19 07:59:45 CDT 2007
Module: wine
Branch: master
Commit: 016b8bbedd5590defc5c6755e5b92c55ceadc1f3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=016b8bbedd5590defc5c6755e5b92c55ceadc1f3
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Wed Jul 18 22:22:07 2007 +0200
winhelp: Add missing case label "default". Found by Smatch (unreached code).
---
programs/winhelp/winhelp.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/programs/winhelp/winhelp.c b/programs/winhelp/winhelp.c
index c61b552..59810bc 100644
--- a/programs/winhelp/winhelp.c
+++ b/programs/winhelp/winhelp.c
@@ -440,7 +440,8 @@ static LRESULT WINHELP_HandleCommand(HWND hSrcWnd, LPARAM lParam)
/* case HELP_PARTIALKEY: */
/* case HELP_MULTIKEY: */
/* case HELP_SETWINPOS: */
- WINE_FIXME("Unknown command (%x) for remote winhelp control\n", wh->command);
+ default:
+ WINE_FIXME("Unhandled command (%x) for remote winhelp control\n", wh->command);
break;
}
}
More information about the wine-cvs
mailing list