mirror of
https://github.com/wiiu-env/WUMSLoader.git
synced 2024-11-27 10:04:16 +01: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) {
|
||||
gInitCalled = 1;
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wstringop-overread"
|
||||
std::string basePath = ENVRIONMENT_STRING;
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
DEBUG_FUNCTION_LINE("We need to load the modules. basePath %s", basePath.c_str());
|
||||
DirList modules(basePath + "/modules", ".wms", DirList::Files, 1);
|
||||
modules.SortList();
|
||||
|
Loading…
Reference in New Issue
Block a user