]> git.stg.codes - stg.git/commitdiff
Shut up compiler about unused parameter on non-linux systems
authorMaxim Mamontov <faust.madf@gmail.com>
Tue, 20 Sep 2011 12:07:42 +0000 (15:07 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Tue, 20 Sep 2011 12:07:42 +0000 (15:07 +0300)
projects/rscriptd/main.cpp
projects/stargazer/main.cpp

index 354c0b36f3f71a19450093a67f7175e5af54072b..1acc06c7946402d3a1e7f6819655b0de3de62e78 100644 (file)
@@ -73,7 +73,11 @@ while (pid != executersPid.end())
     }
 }
 //-----------------------------------------------------------------------------
+#ifdef LINUX
 int StartScriptExecuter(char * procName, int msgKey, int * msgID)
+#else
+int StartScriptExecuter(char *, int msgKey, int * msgID)
+#endif
 {
 STG_LOGGER & WriteServLog = GetStgLogger();
 
index 3a9877155f2f9f373b80451738395791888e2be4..375823481175b522bdd22a5e06677b3fd6e5f854 100644 (file)
@@ -99,7 +99,11 @@ else
     }
 }
 //-----------------------------------------------------------------------------
+#ifdef LINUX
 int StartScriptExecuter(char * procName, int msgKey, int * msgID, SETTINGS_IMPL * settings)
+#else
+int StartScriptExecuter(char *, int msgKey, int * msgID, SETTINGS_IMPL * settings)
+#endif
 {
 STG_LOGGER & WriteServLog = GetStgLogger();