]> granicus.if.org Git - transmission/commitdiff
silence a pair of 'unused variable' gcc warnings
authorJordan Lee <jordan@transmissionbt.com>
Sat, 27 Jul 2013 17:48:59 +0000 (17:48 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Sat, 27 Jul 2013 17:48:59 +0000 (17:48 +0000)
libtransmission/session.c
libtransmission/torrent.c

index 289a56210f0f9024add8db2f5c9be713592b9a6b..c63a43765618fd3e8966e0f666292ba31e8ca3ba 100644 (file)
@@ -1782,7 +1782,6 @@ static void
 sessionCloseImpl (void * vsession)
 {
   int i, n;
-  tr_torrent * tor;
   tr_torrent ** torrents;
   tr_session * session = vsession;
 
index ae2afc077a55eb68bd66cbe155f700edf9acf830..f24433140992c1fe495db8f73a201ae58b16b3f2 100644 (file)
@@ -3393,7 +3393,6 @@ queueIsSequenced (tr_session * session)
   int i;
   int n;
   bool is_sequenced;
-  tr_torrent * tor;
   tr_torrent ** torrents;
 
   n = 0;