From 9b9f5b6503dab7eaf2c35de920169933496715d0 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Tue, 20 Sep 2011 15:07:42 +0300 Subject: [PATCH 1/1] Shut up compiler about unused parameter on non-linux systems --- projects/rscriptd/main.cpp | 4 ++++ projects/stargazer/main.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/projects/rscriptd/main.cpp b/projects/rscriptd/main.cpp index 354c0b36..1acc06c7 100644 --- a/projects/rscriptd/main.cpp +++ b/projects/rscriptd/main.cpp @@ -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(); diff --git a/projects/stargazer/main.cpp b/projects/stargazer/main.cpp index 3a987715..37582348 100644 --- a/projects/stargazer/main.cpp +++ b/projects/stargazer/main.cpp @@ -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(); -- 2.44.2