Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LRESULT CALLBACK IOP_DISASM(HWND hDlg, UINT message,
- WPARAM wParam, LPARAM lParam)
- {
- ...
- switch(LOWORD(wParam))
- {
- case (IDOK || IDCANCEL):
- EndDialog(hDlg,TRUE);
- return(TRUE);
- break;
- }
- ...
- }
- Most likely this is what should be written here: case IDOK: case IDCANCEL:
- This suspicious code was found in Pcsx2 project by PVS-Studio static code analyzer.
- Warning message is:
- V560 A part of conditional expression is always true: 2. pcsx2 debugger.cpp 321
- PVS-Studio is a static analyzer for detecting bugs in the source code of applications written in C, C++, C++11, C++/CX. Site: http://www.viva64.com/en/pvs-studio/
Advertisement
Add Comment
Please, Sign In to add comment