summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfonsinchen <fonsinchen@openttd.org>2013-11-19 19:42:40 +0000
committerfonsinchen <fonsinchen@openttd.org>2013-11-19 19:42:40 +0000
commit29d0c68bb0d30319c4612b7e24dbe43a9c7a7404 (patch)
tree24d6db11bd2f82474461a2f16fb2e284e5ec608e /src
parent65752ec55be1e34cdb35b15cb7833ceb4199da5a (diff)
downloadopenttd-29d0c68bb0d30319c4612b7e24dbe43a9c7a7404.tar.xz
(svn r26040) -Fix: return 0 from unreached part of function to silence some compilers
Diffstat (limited to 'src')
-rw-r--r--src/story_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/story_gui.cpp b/src/story_gui.cpp
index 1e0bc09da..df1a04975 100644
--- a/src/story_gui.cpp
+++ b/src/story_gui.cpp
@@ -332,6 +332,7 @@ protected:
default:
NOT_REACHED();
}
+ return 0;
}
/**