From fc6f08d5b71db219a96fd15a8befac88d2f4bca3 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 13 Feb 2013 10:27:49 +0000 Subject: [PATCH] No more need for freefn. --- window-choose.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/window-choose.c b/window-choose.c index 5b11f4b6..644318ac 100644 --- a/window-choose.c +++ b/window-choose.c @@ -75,7 +75,6 @@ struct window_choose_mode_data { char *input_str; void (*callbackfn)(struct window_choose_data *); - void (*freefn)(struct window_choose_data *); }; int window_choose_key_index(struct window_choose_mode_data *, u_int); @@ -131,7 +130,6 @@ window_choose_init(struct window_pane *wp) wp->modedata = data = xmalloc(sizeof *data); data->callbackfn = NULL; - data->freefn = NULL; data->input_type = WINDOW_CHOOSE_NORMAL; data->input_str = xstrdup(""); data->input_prompt = NULL;