GNOME Bugzilla – Bug 322084
Misuse of == instead of =
Last modified: 2005-11-22 07:51:37 UTC
Version details: 2.8.0.6 gdmlogin.c: In function `gdm_login_parse_config': gdmlogin.c:925: warning: statement with no effect gdmlogin.c:927: warning: statement with no effect gdmlogin.c: In function `gdm_reread_config': gdmlogin.c:3517: warning: statement with no effect gdmlogin.c:3519: warning: statement with no effect greeter.c: In function `greeter_parse_config': greeter.c:260: warning: statement with no effect greeter.c:262: warning: statement with no effect greeter.c: In function `greeter_reread_config': greeter.c:1009: warning: statement with no effect greeter.c:1011: warning: statement with no effect These are all constructs like if (strcmp (ve_sure_string (GdmWelcome), GDM_DEFAULT_WELCOME_MSG) == 0) GdmDefaultWelcome == TRUE; where the second line should almost certainly be: GdmDefaultWelcome = TRUE; instead.
Fixed in 2.12 branch. Already fixed in CVS head.