[Ekiga-devel-list] Cleanup 2
- From: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
- To: Ekiga mailing list <ekiga-devel-list gnome org>
- Subject: [Ekiga-devel-list] Cleanup 2
- Date: Fri, 04 Jun 2010 17:49:32 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]