summaryrefslogtreecommitdiff
path: root/src/story_gui.cpp
diff options
context:
space:
mode:
authorzuu <zuu@openttd.org>2013-06-09 14:13:59 +0000
committerzuu <zuu@openttd.org>2013-06-09 14:13:59 +0000
commit53d2e785f5638cee8f09173ed0d724fbe5552815 (patch)
tree3793f71062e5dcdd94df37afa3dd0269c525b29b /src/story_gui.cpp
parentdda71a15d1c4a2a768f3e1197413b21663480591 (diff)
downloadopenttd-53d2e785f5638cee8f09173ed0d724fbe5552815.tar.xz
(svn r25381) -Fix: Silent story book compiler warnings
Diffstat (limited to 'src/story_gui.cpp')
-rw-r--r--src/story_gui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/story_gui.cpp b/src/story_gui.cpp
index 9efee829e..48555995a 100644
--- a/src/story_gui.cpp
+++ b/src/story_gui.cpp
@@ -234,7 +234,6 @@ protected:
uint16 page_num = 1;
for (const StoryPage *const*iter = this->story_pages.Begin(); iter != this->story_pages.End(); iter++) {
const StoryPage *p = *iter;
- char *title = p->title;
bool current_page = p->index == this->selected_page_id;
DropDownListStringItem *item = NULL;
if (p->title != NULL) {