Bugzilla – Bug 224662
bbtools-2006.5.26-22: comparison with string literal
Last modified: 2007-07-03 15:14:03 UTC
I just tried to build the package bbtools-2006.5.26-22 I got the following warning message from the compiler. bbrun.c:325: warning: comparison with string literal The source code is if ((char *) data == "ok") Perhaps the programmer intended if (strcmp( (char *) data, "ok") == 0)
Feel free to close as duplicate of Bug #233655.
*** This bug has been marked as a duplicate of bug 233655 ***