Bugzilla – Bug 235553
enigma-1.00-2: comparison with string literal
Last modified: 2007-01-17 09:57:05 UTC
I just tried to compile package enigma-1.00-2 The compiler said items.cc:1426: warning: comparison with string literal The source code is (get_stone_name() == "st-wood-growing" && GetStone(p))) { Suggest new code ((strcmp( get_stone_name(), "st-wood-growing") == 0) && GetStone(p))) {
Feel free to close as duplicate of Bug #233655.
*** This bug has been marked as a duplicate of bug 233655 ***