summaryrefslogtreecommitdiff
path: root/src/heretic/in_lude.c
diff options
context:
space:
mode:
authorFabian Greffrath2015-02-17 12:00:04 +0100
committerFabian Greffrath2015-02-17 12:00:04 +0100
commit51ab62f6fb06b42c80c98ea71ab29d208d10e422 (patch)
treea1c478baf83d30e7f93ec607f96caf8946452df8 /src/heretic/in_lude.c
parente1f905cd3c481d561f2faf8c80e800cffe4d2035 (diff)
downloadchocolate-doom-51ab62f6fb06b42c80c98ea71ab29d208d10e422.tar.gz
chocolate-doom-51ab62f6fb06b42c80c98ea71ab29d208d10e422.tar.bz2
chocolate-doom-51ab62f6fb06b42c80c98ea71ab29d208d10e422.zip
setup: fix "control reaches end of non-void function" compiler warning
Actually, it is impossible to reach the end of these two functions without return()ing earlier from one of the switch() statements' branches. But since the compiler cannot know this and warns about it, and since this warning can be escalated into an error in later compiler versions, silence it by return()ing a dummy value at the end of each function. Fixes #508
Diffstat (limited to 'src/heretic/in_lude.c')
0 files changed, 0 insertions, 0 deletions