winhelp: Add missing case label "default". Found by Smatch (unreached code).

Michael Stefaniuc mstefani at redhat.de
Wed Jul 18 15:22:07 CDT 2007


---
 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;
         }
     }
-- 
1.5.2.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070718/9cfbaeaf/attachment.pgp


More information about the wine-patches mailing list