shithub: choc

Download patch

ref: ff575846e94bc05348625806e8601588aaf368fa
parent: 28c1aa1b1cdd315850b649a065cec61e1846d926
author: alexey.lysiuk <alexey.lysiuk@gmail.com>
date: Sat May 10 07:06:15 EDT 2014

Fix compilation error with Clang

No more 'control may reach end of non-void function' error

--- a/src/d_mode.c
+++ b/src/d_mode.c
@@ -184,6 +184,7 @@
     switch (mission)
     {
         case none:
+        default:
             return "none";
         case doom:
             return "doom";