Mercurial > pidgin
diff console/gntrequest.c @ 14198:c65ed4f6eea8
[gaim-migrate @ 16870]
Do the right thing: remove the compile warnings.
committer: Tailor Script <tailor@pidgin.im>
| author | Sadrul Habib Chowdhury <imadil@gmail.com> |
|---|---|
| date | Sat, 19 Aug 2006 03:38:23 +0000 |
| parents | fec4fadf30c9 |
| children | b02b7017930f |
line wrap: on
line diff
--- a/console/gntrequest.c Sat Aug 19 02:57:06 2006 +0000 +++ b/console/gntrequest.c Sat Aug 19 03:38:23 2006 +0000 @@ -247,7 +247,8 @@ else if (type == GAIM_REQUEST_FIELD_CHOICE) { GntWidget *combo = field->ui_data;; - int id = GPOINTER_TO_INT(gnt_combo_box_get_selected_data(GNT_COMBO_BOX(combo))); + int id; + id = GPOINTER_TO_INT(gnt_combo_box_get_selected_data(GNT_COMBO_BOX(combo))); gaim_request_field_choice_set_value(field, id); } else if (type == GAIM_REQUEST_FIELD_LIST)
