[Scummvm-git-logs] scummvm master -> 1bb10c0b3d9167477b2a904a153899835c53f665

aquadran noreply at scummvm.org
Sat May 28 15:38:16 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
1bb10c0b3d BASE: Silence compiler warning


Commit: 1bb10c0b3d9167477b2a904a153899835c53f665
    https://github.com/scummvm/scummvm/commit/1bb10c0b3d9167477b2a904a153899835c53f665
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2022-05-28T17:38:12+02:00

Commit Message:
BASE: Silence compiler warning

Changed paths:
    base/commandLine.cpp


diff --git a/base/commandLine.cpp b/base/commandLine.cpp
index 0c2c8b606a6..12c7c8563f7 100644
--- a/base/commandLine.cpp
+++ b/base/commandLine.cpp
@@ -55,12 +55,14 @@ namespace Base {
 
 #ifndef DISABLE_COMMAND_LINE
 
+#if defined(__DS__)
 static const char USAGE_STRING[] =
 	"%s: %s\n"
 	"Usage: %s [OPTIONS]... [GAME]\n"
 	"\n"
 	"Try '%s --help' for more options.\n"
 ;
+#endif
 
 // DONT FIXME: DO NOT ORDER ALPHABETICALLY, THIS IS ORDERED BY IMPORTANCE/CATEGORY! :)
 #if defined(ANDROID) || defined(__DS__) || defined(__3DS__)




More information about the Scummvm-git-logs mailing list