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]]) {