mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
argv should not be modified; make it plenty const.
svn-id: r39591
This commit is contained in:
1 parent
e3ca4afb59
commit
bce96bd55d
5 files changed
+6
-6
No files matched your search
@@ -281,7 +281,7 @@ void registerDefaults() {
|
||||
}
|
||||
|
||||
|
||||
Common::String parseCommandLine(Common::StringMap &settings, int argc, char **argv) {
|
||||
Common::String parseCommandLine(Common::StringMap &settings, int argc, const char * const *argv) {
|
||||
const char *s, *s2;
|
||||
|
||||
// argv[0] contains the name of the executable.
|
||||
@@ -710,7 +710,7 @@ static void runDetectorTest() {
|
||||
#else // DISABLE_COMMAND_LINE
|
||||
|
||||
|
||||
Common::String parseCommandLine(Common::StringMap &settings, int argc, char **argv) {
|
||||
Common::String parseCommandLine(Common::StringMap &settings, int argc, const char * const *argv) {
|
||||
return Common::String();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user