summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Mandaleeka <adityamandaleeka@users.noreply.github.com>2016-06-20 18:18:06 -0700
committerGitHub <noreply@github.com>2016-06-20 18:18:06 -0700
commit1973f0f500e33ca237f1587dfea71073bb9a997e (patch)
tree13b7511fc57cae9a0deb8413b0b4f923305a1867
parentf6ad954733e4c8f0bbb342bc3412747663905cb2 (diff)
parentaeb7964a7e0ad92d12756d0a596de4705ffb04b3 (diff)
downloadcoreclr-1973f0f500e33ca237f1587dfea71073bb9a997e.tar.gz
coreclr-1973f0f500e33ca237f1587dfea71073bb9a997e.tar.bz2
coreclr-1973f0f500e33ca237f1587dfea71073bb9a997e.zip
Merge pull request #3074 from Dmitry-Me/useElseIfForExclusive
Use else-if for mutually exclusive conditions
-rw-r--r--src/ToolBox/SOS/Strike/datatarget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ToolBox/SOS/Strike/datatarget.cpp b/src/ToolBox/SOS/Strike/datatarget.cpp
index 0e981dd537..8f24b7d841 100644
--- a/src/ToolBox/SOS/Strike/datatarget.cpp
+++ b/src/ToolBox/SOS/Strike/datatarget.cpp
@@ -31,7 +31,7 @@ DataTarget::QueryInterface(
AddRef();
return S_OK;
}
- if (InterfaceId == IID_ICorDebugDataTarget4)
+ else if (InterfaceId == IID_ICorDebugDataTarget4)
{
*Interface = (ICorDebugDataTarget4*)this;
AddRef();