Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char *DCIGETTEXT (....)
- {
- ....
- /* Make CATEGORYVALUE point to the next element of the list. */
- while (categoryvalue[0] != '\0' && categoryvalue[0] == ':')
- ++categoryvalue;
- ....
- }
- Most likely this is what should be written here: while (categoryvalue[0] != '\0' && categoryvalue[0] != ':')
- This suspicious code was found in glibc project by PVS-Studio static code analyzer.
- Warning message is:
- V590 Consider inspecting this expression. The expression is excessive or contains a misprint. dcigettext.c 582
- 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
Advertisement