summaryrefslogtreecommitdiff
path: root/src/ToolBox
diff options
context:
space:
mode:
authorBrian Sullivan <briansul@microsoft.com>2015-04-28 17:09:59 -0700
committerBrian Sullivan <briansul@microsoft.com>2015-04-28 17:09:59 -0700
commit57a59739383e4ad936ce6c5e66889e0fa5bca9ae (patch)
tree6ea5209669bcff82a18286ec1e25326e27291cbc /src/ToolBox
parentd1473d9abd0c179c217a386a09f812713f5c3c56 (diff)
parent8201dd51434fa803a3d32e6bafb3175f18fb2329 (diff)
downloadcoreclr-57a59739383e4ad936ce6c5e66889e0fa5bca9ae.tar.gz
coreclr-57a59739383e4ad936ce6c5e66889e0fa5bca9ae.tar.bz2
coreclr-57a59739383e4ad936ce6c5e66889e0fa5bca9ae.zip
Merge pull request #855 from briansull/Wno-switch
Wno switch
Diffstat (limited to 'src/ToolBox')
-rw-r--r--src/ToolBox/SOS/Strike/strike.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ToolBox/SOS/Strike/strike.cpp b/src/ToolBox/SOS/Strike/strike.cpp
index 5a175cf7f1..6e944f7fd4 100644
--- a/src/ToolBox/SOS/Strike/strike.cpp
+++ b/src/ToolBox/SOS/Strike/strike.cpp
@@ -10654,6 +10654,10 @@ private:
case ELEMENT_TYPE_PTR:
wcsncat_s(typeName, typeNameLen, W("*\0"), typeNameLen);
return S_OK;
+ default:
+ // note we can never reach here as this is a nested switch
+ // and corElemType can only be one of the values above
+ break;
}
}
break;
@@ -10879,6 +10883,8 @@ private:
printed = true;
}
break;
+ default:
+ break;
}
}
}
@@ -13947,4 +13953,4 @@ Help(PDEBUG_CLIENT Client, PCSTR Args)
return S_OK;
}
-#endif // !FEATURE_PAL \ No newline at end of file
+#endif // !FEATURE_PAL