From feb85f8957bf53dbccffbcdd81914724fb505e88 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 25 Jul 2007 16:04:27 +0000 Subject: [PATCH] gtk: fix minor "unused variable" warning. --- gtk/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk/main.c b/gtk/main.c index 36792a644..331e1f36e 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -130,7 +130,7 @@ sendremote( GList * files, gboolean sendquit ); static void gtksetup( int * argc, char *** argv, struct cbdata* ); static void -appsetup( TrWindow * wind, benc_val_t * state, GList * args, +appsetup( TrWindow * wind, GList * args, struct cbdata * , gboolean paused ); static void winsetup( struct cbdata * cbdata, TrWindow * wind ); @@ -246,7 +246,7 @@ main( int argc, char ** argv ) } msgwin_loadpref(); /* set message level here before tr_init() */ - appsetup( mainwind, state, argfiles, cbdata, startpaused ); + appsetup( mainwind, argfiles, cbdata, startpaused ); cf_freestate( state ); } else @@ -382,7 +382,7 @@ gtksetup( int * argc, char *** argv, struct cbdata * callback_data ) } static void -appsetup( TrWindow * wind, benc_val_t * state, GList * args, +appsetup( TrWindow * wind, GList * args, struct cbdata * cbdata, gboolean paused ) { enum tr_torrent_action action;