gtk: fix minor "unused variable" warning.

This commit is contained in:
Charles Kerr 2007-07-25 16:04:27 +00:00
parent 2d0ba91d5f
commit feb85f8957
1 changed files with 3 additions and 3 deletions

View File

@ -130,7 +130,7 @@ sendremote( GList * files, gboolean sendquit );
static void static void
gtksetup( int * argc, char *** argv, struct cbdata* ); gtksetup( int * argc, char *** argv, struct cbdata* );
static void static void
appsetup( TrWindow * wind, benc_val_t * state, GList * args, appsetup( TrWindow * wind, GList * args,
struct cbdata * , gboolean paused ); struct cbdata * , gboolean paused );
static void static void
winsetup( struct cbdata * cbdata, TrWindow * wind ); winsetup( struct cbdata * cbdata, TrWindow * wind );
@ -246,7 +246,7 @@ main( int argc, char ** argv )
} }
msgwin_loadpref(); /* set message level here before tr_init() */ msgwin_loadpref(); /* set message level here before tr_init() */
appsetup( mainwind, state, argfiles, cbdata, startpaused ); appsetup( mainwind, argfiles, cbdata, startpaused );
cf_freestate( state ); cf_freestate( state );
} }
else else
@ -382,7 +382,7 @@ gtksetup( int * argc, char *** argv, struct cbdata * callback_data )
} }
static void static void
appsetup( TrWindow * wind, benc_val_t * state, GList * args, appsetup( TrWindow * wind, GList * args,
struct cbdata * cbdata, gboolean paused ) struct cbdata * cbdata, gboolean paused )
{ {
enum tr_torrent_action action; enum tr_torrent_action action;