From: Maxim Mamontov Date: Tue, 20 Sep 2011 12:07:42 +0000 (+0300) Subject: Shut up compiler about unused parameter on non-linux systems X-Git-Tag: 2.408-rc1~12 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/9b9f5b6503dab7eaf2c35de920169933496715d0?ds=sidebyside Shut up compiler about unused parameter on non-linux systems --- 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();