diff --git a/source/exhumed/src/config.cpp b/source/exhumed/src/config.cpp
index c313b7571..018fc80b5 100644
--- a/source/exhumed/src/config.cpp
+++ b/source/exhumed/src/config.cpp
@@ -557,6 +557,7 @@ int CONFIG_ReadSetup()
     if (gSetup.bpp < 8) gSetup.bpp = 32;
 
     setupread = 1;
+    return 0;
 }
 
 // wrapper for CONTROL_MapKey(), generates key bindings to reflect changes to keyboard setup