Get rid of some unnecessary casts

This commit is contained in:
Benjamin Kramer
2009-05-20 13:13:59 +02:00
committed by Pieter de Bie
parent df4a50aebe
commit c12e8b9dd4
8 changed files with 18 additions and 12 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
- (NSMenu *)menuForEvent:(NSEvent *)theEvent
{
if ([self delegate])
return [(PBGitIndexController *)[self delegate] menuForTable: self];
return [[self delegate] menuForTable: self];
return nil;
}