mirror of
https://github.com/wiiu-env/WUMSLoader.git
synced 2024-06-02 00:28:48 +02:00
Fix compiler warnings
This commit is contained in:
parent
7571b3d12b
commit
d7a4c8abda
|
@ -43,7 +43,11 @@ void doStart(int argc, char **argv) {
|
||||||
if (!gInitCalled) {
|
if (!gInitCalled) {
|
||||||
gInitCalled = 1;
|
gInitCalled = 1;
|
||||||
|
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wstringop-overread"
|
||||||
std::string basePath = ENVRIONMENT_STRING;
|
std::string basePath = ENVRIONMENT_STRING;
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
DEBUG_FUNCTION_LINE("We need to load the modules. basePath %s", basePath.c_str());
|
DEBUG_FUNCTION_LINE("We need to load the modules. basePath %s", basePath.c_str());
|
||||||
DirList modules(basePath + "/modules", ".wms", DirList::Files, 1);
|
DirList modules(basePath + "/modules", ".wms", DirList::Files, 1);
|
||||||
modules.SortList();
|
modules.SortList();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user