pidgin/purple-plugin-pack

Remove an unused variable

2017-05-25, Gary Kramlich
3a53ae64a996
Parents d550a70c5fb1
Children a1c2d1d5dec6
Remove an unused variable
--- a/enhancedhist/enhancedhist.c Thu May 25 22:02:12 2017 -0500
+++ b/enhancedhist/enhancedhist.c Thu May 25 22:05:45 2017 -0500
@@ -301,7 +301,7 @@
eh_prefs_get_frame(PurplePlugin *plugin)
{
GtkSizeGroup *sg = NULL;
- GtkWidget *vbox = NULL, *frame = NULL, *option = NULL;
+ GtkWidget *vbox = NULL, *frame = NULL;
sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
vbox = gtk_vbox_new(TRUE, PIDGIN_HIG_BOX_SPACE);
@@ -318,17 +318,17 @@
PREF_BYTES_PATH, 0, 1024*1024, NULL);
/* the boolean preferences */
- option = pidgin_prefs_checkbox(_("Show dates with text"), PREF_DATES_PATH, frame);
- option = pidgin_prefs_checkbox(_("Show logs for IMs"), PREF_IM_PATH, frame);
- option = pidgin_prefs_checkbox(_("Show logs for chats"), PREF_CHAT_PATH, frame);
+ pidgin_prefs_checkbox(_("Show dates with text"), PREF_DATES_PATH, frame);
+ pidgin_prefs_checkbox(_("Show logs for IMs"), PREF_IM_PATH, frame);
+ pidgin_prefs_checkbox(_("Show logs for chats"), PREF_CHAT_PATH, frame);
/* heading for the age limit options */
frame = pidgin_make_frame(vbox, _("Age Limit for Logs (0 to disable):"));
/* the integer preferences for time limiting */
- option = pidgin_prefs_labeled_spin_button(frame, "Days:", PREF_DAYS_PATH, 0, 255, sg);
- option = pidgin_prefs_labeled_spin_button(frame, "Hours:", PREF_HOURS_PATH, 0, 255, sg);
- option = pidgin_prefs_labeled_spin_button(frame, "Minutes:", PREF_MINS_PATH, 0, 255, sg);
+ pidgin_prefs_labeled_spin_button(frame, "Days:", PREF_DAYS_PATH, 0, 255, sg);
+ pidgin_prefs_labeled_spin_button(frame, "Hours:", PREF_HOURS_PATH, 0, 255, sg);
+ pidgin_prefs_labeled_spin_button(frame, "Minutes:", PREF_MINS_PATH, 0, 255, sg);
gtk_widget_show_all(vbox);