From 3144495e01f5f13faab892894d891309009b8278 Mon Sep 17 00:00:00 2001 From: ritsuka Date: Fri, 8 Aug 2008 08:54:36 +0000 Subject: MacGui: Fixed the warning in ChapterTitles for real this time. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1618 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/ChapterTitles.m | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'macosx/ChapterTitles.m') diff --git a/macosx/ChapterTitles.m b/macosx/ChapterTitles.m index dd38d9005..0ad565119 100644 --- a/macosx/ChapterTitles.m +++ b/macosx/ChapterTitles.m @@ -82,7 +82,7 @@ objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex { - NSString *cellEntry; + NSString *cellEntry = @"__DATA ERROR__"; if([[aTableColumn identifier] intValue] == 1) { @@ -99,10 +99,6 @@ cellEntry = [NSString stringWithUTF8String:chapter->title]; } } - else - { - cellEntry = @"__DATA ERROR__"; - } } return cellEntry; -- cgit v1.2.3