From 911a6ce32e9dd4585f9011737a2d915df32d86b5 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Thu, 20 Dec 2007 01:15:13 +0000 Subject: [PATCH] remove unused variables --- libtransmission/platform.c | 1 - macosx/TorrentCell.m | 2 -- 2 files changed, 3 deletions(-) diff --git a/libtransmission/platform.c b/libtransmission/platform.c index c85495e59..6bc1bbcda 100644 --- a/libtransmission/platform.c +++ b/libtransmission/platform.c @@ -367,7 +367,6 @@ tr_getPrefsDirectory( void ) buf, sizeof( buf ) ); strcat( buf, "/Transmission" ); #elif defined( SYS_DARWIN ) - const char * h = tr_getHomeDirectory( ); tr_buildPath ( buf, sizeof( buf ), tr_getHomeDirectory( ), "Library", diff --git a/macosx/TorrentCell.m b/macosx/TorrentCell.m index 3b939b8e0..986302281 100644 --- a/macosx/TorrentCell.m +++ b/macosx/TorrentCell.m @@ -245,8 +245,6 @@ //text color NSColor * titleColor, * statusColor; - BOOL selected = [NSApp isOnLeopardOrBetter] ? [self backgroundStyle] == NSBackgroundStyleDark : [self isHighlighted] - && [[self highlightColorWithFrame: cellFrame inView: controlView] isEqual: [NSColor alternateSelectedControlColor]]; if ([NSApp isOnLeopardOrBetter] ? [self backgroundStyle] == NSBackgroundStyleDark : [self isHighlighted] && [[self highlightColorWithFrame: cellFrame inView: controlView] isEqual: [NSColor alternateSelectedControlColor]]) {