Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INLINE static int check_breaks_gdb(....) {
- int found_break = 0;
- ...
- while ( bpoint != NULL && !found_break) {
- ...
- found_break not used inside loop
- ...
- }
- return found_break;
- }
- This suspicious code was found in DeSmuME project by PVS-Studio static code analyzer.
- Warning message is:
- V560 A part of conditional expression is always true: !found_break. DeSmuME_VS2005 gdbstub.cpp 1002
- 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