Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#199 [pixbuf-renderer.c:1222]: (style) Same expression on both sides of '&&'

no target version
open
nobody
None
5
2014-02-06
2014-02-06
dcb
No

Source code is

g_return_if_fail(tile_width >= 32 && tile_width >= 32);

Maybe

g_return_if_fail(tile_width >= 32 && tile_height >= 32);

would be better code.

I found this possible problem using cppcheck, a static analysis checker.

Discussion