diff options
author | Lukas Matena <lukasmatena@seznam.cz> | 2021-01-29 09:39:27 +0300 |
---|---|---|
committer | Lukas Matena <lukasmatena@seznam.cz> | 2021-01-29 12:47:02 +0300 |
commit | d9c9de8eeec623d2c56e7c499d35f84ef7b88090 (patch) | |
tree | 46d21eee9290646b19c622b60606efb348d55372 /src/slic3r/GUI/InstanceCheck.cpp | |
parent | 2d32c80b75437d4aa94fa7a47e4e13cc826ccc79 (diff) |
Fixing GCC warnings 3
Diffstat (limited to 'src/slic3r/GUI/InstanceCheck.cpp')
-rw-r--r-- | src/slic3r/GUI/InstanceCheck.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slic3r/GUI/InstanceCheck.cpp b/src/slic3r/GUI/InstanceCheck.cpp index 6cfa879c8..73bbeda35 100644 --- a/src/slic3r/GUI/InstanceCheck.cpp +++ b/src/slic3r/GUI/InstanceCheck.cpp @@ -41,7 +41,7 @@ namespace instance_check_internal //if (argc < 2) // return ret; std::vector<std::string> arguments { argv[0] }; - for (size_t i = 1; i < argc; ++i) { + for (int i = 1; i < argc; ++i) { const std::string token = argv[i]; // Processing of boolean command line arguments shall match DynamicConfig::read_cli(). if (token == "--single-instance") @@ -180,7 +180,7 @@ namespace instance_check_internal if ( !checker->IsAnotherRunning() ) */ { DBusMessage* msg; - DBusMessageIter args; + // DBusMessageIter args; DBusConnection* conn; DBusError err; dbus_uint32_t serial = 0; |