Commit 1e03d064 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

macosx: remove write-only variables

parent afec0c74
......@@ -702,7 +702,6 @@
- (void)outlineView:(NSOutlineView *)outlineView didClickTableColumn:(NSTableColumn *)aTableColumn
{
int type = 0;
intf_thread_t *p_intf = getIntf();
NSString * identifier = [aTableColumn identifier];
if (_sortTableColumn == aTableColumn)
......
......@@ -364,8 +364,8 @@ FREENULL( psz_##foo );
- (IBAction)downloadCoverArt:(id)sender
{
playlist_t *p_playlist = pl_Get(getIntf());
if (p_item) libvlc_ArtRequest(getIntf()->obj.libvlc, p_item, META_REQUEST_OPTION_NONE);
if (p_item)
libvlc_ArtRequest(getIntf()->obj.libvlc, p_item, META_REQUEST_OPTION_NONE);
}
@end
......
......@@ -73,7 +73,6 @@ NSString *const kVLCMediaUnknown = @"Unknown";
NSMutableString *o_wrapped;
NSString *o_out_string;
NSRange glyphRange, effectiveRange, charRange;
NSRect lineFragmentRect;
unsigned glyphIndex, breaksInserted = 0;
NSTextStorage *o_storage = [[NSTextStorage alloc] initWithString: o_in_string
......@@ -91,8 +90,8 @@ NSString *const kVLCMediaUnknown = @"Unknown";
for (glyphIndex = glyphRange.location ; glyphIndex < NSMaxRange(glyphRange) ;
glyphIndex += effectiveRange.length) {
lineFragmentRect = [o_layout_manager lineFragmentRectForGlyphAtIndex: glyphIndex
effectiveRange: &effectiveRange];
[o_layout_manager lineFragmentRectForGlyphAtIndex: glyphIndex
effectiveRange: &effectiveRange];
charRange = [o_layout_manager characterRangeForGlyphRange: effectiveRange
actualGlyphRange: &effectiveRange];
if ([o_wrapped lineRangeForRange:
......
......@@ -68,8 +68,6 @@
NSString *o_command = [[self commandDescription] commandName];
NSString *o_parameter = [self directParameter];
intf_thread_t * p_intf = getIntf();
if ([o_command isEqualToString:@"play"])
[[VLCCoreInteraction sharedInstance] playOrPause];
else if ([o_command isEqualToString:@"stop"])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment