summaryrefslogtreecommitdiffstats
path: root/macosx/ChapterTitles.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/ChapterTitles.m')
-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;