diff options
author | Koundinya Veluri <kouvel@users.noreply.github.com> | 2015-09-28 14:54:46 -0700 |
---|---|---|
committer | Koundinya Veluri <kouvel@users.noreply.github.com> | 2015-09-28 14:54:46 -0700 |
commit | 99458af30ac18c5b60afa7a68e241ed70b880eca (patch) | |
tree | 46a1ffcb57e0c29731d5db09d441aaef8c7ce1a4 /src/utilcode | |
parent | 795786f0ac0e5ea82f288dfeb5b673845e1ef075 (diff) | |
parent | bc99b33602795e4db64bfdc924ce8ef1b6f5cc78 (diff) | |
download | coreclr-99458af30ac18c5b60afa7a68e241ed70b880eca.tar.gz coreclr-99458af30ac18c5b60afa7a68e241ed70b880eca.tar.bz2 coreclr-99458af30ac18c5b60afa7a68e241ed70b880eca.zip |
Merge pull request #1628 from kouvel/CppCheckFixes
Fix a few issues reported by cppcheck
Diffstat (limited to 'src/utilcode')
-rw-r--r-- | src/utilcode/utilmessagebox.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utilcode/utilmessagebox.cpp b/src/utilcode/utilmessagebox.cpp index c196ddd68a..8b936daea8 100644 --- a/src/utilcode/utilmessagebox.cpp +++ b/src/utilcode/utilmessagebox.cpp @@ -247,6 +247,9 @@ int MessageBoxImpl( if (hr == S_OK) { result = nButtonPressed; } + else { + result = IDOK; + } _ASSERTE(result == IDOK || result == IDRETRY || result == IDIGNORE); } |