Bugzilla – Bug 231180
gthumb-2.7.9-32: comparison with string literal
Last modified: 2007-01-18 16:54:31 UTC
I just tried to compile package gthumb-2.7.9-32 The compiler said file-utils.c:1143: warning: comparison with string literal The source code is if ((path == "") || (path[0] == '/')) Suggest new code if ((path[ 0] == 0) || (path[0] == '/'))
Joe, you'll have to check the code to see what the right fix is, could be path == NULL or path[0] == '\0' as well depending.
Feel free to close as duplicate of Bug #233655.
*** This bug has been marked as a duplicate of bug 233655 ***