Skip to content

Commit

Permalink
Bug#32107056 warning C4065: switch statement contains 'default' but n…
Browse files Browse the repository at this point in the history
…o 'case' labels in plugin mgmsrc [#11] [noclose]

src\mgmsrv\MgmtSrvr.cpp(3531,3):
warning C4065: switch statement contains 'default' but no 'case' labels

Change-Id: I0de4253a740d73bdb369c524b645f95882c89311
  • Loading branch information
zmur committed Feb 16, 2021
1 parent c12e664 commit ecf14a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/ndb/src/mgmsrv/MgmtSrvr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3468,9 +3468,9 @@ MgmtSrvr::dumpStateSelf(const Uint32 args[], Uint32 no)
if (no < 1)
return -1;

#ifdef ERROR_INSERT
switch(args[0])
{
#ifdef ERROR_INSERT
case 9994:
{
/* Transporter send blocking */
Expand Down Expand Up @@ -3517,10 +3517,10 @@ MgmtSrvr::dumpStateSelf(const Uint32 args[], Uint32 no)
theFacade->release_consumed_sendbuffer();
break;
}
#endif
default:
;
}
#endif

return 0;
}
Expand Down

0 comments on commit ecf14a5

Please sign in to comment.