summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorritsuka <[email protected]>2008-08-08 08:54:36 +0000
committerritsuka <[email protected]>2008-08-08 08:54:36 +0000
commit3144495e01f5f13faab892894d891309009b8278 (patch)
treed7618aac7b990c3ba343b6a99a3f5526e6750d62
parent8a130d0d89db739f22bcddeef1aaa3a5201b4524 (diff)
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
-rw-r--r--macosx/ChapterTitles.m6
1 files changed, 1 insertions, 5 deletions
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;