bool val = false;
g_return_if_fail (data != NULL);
if (gm_conf_entry_get_type (entry) == GM_CONF_BOOL) {
val = gm_conf_entry_get_bool (entry);
ekiga_main_window_set_stay_on_top (EKIGA_MAIN_WINDOW (data), val);
}
I would like to remove the initialisation of val, it serves no purpose.
The same for:
GtkStatusIcon *statusicon = NULL;
GtkWidget *main_window = NULL;
main_window = GnomeMeeting::Process ()->GetMainWindow ();
statusicon = GTK_STATUS_ICON (GnomeMeeting::Process ()->GetStatusicon
());
etc.
Does someone disagree in removing unuseful initialisations?
--
Eugen
_______________________________________________
ekiga-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list