[PATCH 2/5] user32: Move misplaced break statement.

Alex Henrie alexhenrie24 at gmail.com
Sun Oct 4 22:27:54 CDT 2015


Coverity #513488,
"The case for value 78U is not terminated by a 'break' statement."

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 dlls/user32/spy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/user32/spy.c b/dlls/user32/spy.c
index b370aea..c0acd82 100644
--- a/dlls/user32/spy.c
+++ b/dlls/user32/spy.c
@@ -2520,10 +2520,10 @@ static void SPY_DumpStructure(const SPY_INSTANCE *sp_e, BOOL enter)
                     TRACE("NMHDR hwndFrom=%p idFrom=0x%08lx code=0x%08x\n",
                           pnmh->hwndFrom, pnmh->idFrom, pnmh->code);
             }
+            break;
         default:
             if (sp_e->data_len > 0)
                 SPY_DumpMem ("MSG lParam", (UINT *)sp_e->lParam, sp_e->data_len);
-            break;
         }
 
 }
-- 
2.6.0




More information about the wine-patches mailing list