diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2012-02-13 09:41:50 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2012-02-13 09:41:50 -0500 |
commit | 0f2882ec95fc6cd2649fbe4e952ce1bc586bb853 (patch) | |
tree | 3bf07b8dfe444ae0e77c1fd8ce6dbc41a0f468ce | |
parent | 6da3f0907cea3748adb6be9a7c393835109adf3b (diff) |
Suppress a specific unused-var warning on Posix platforms.
-rw-r--r-- | indra/llcommon/llprocess.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llcommon/llprocess.cpp b/indra/llcommon/llprocess.cpp index 7ccbdeed01..de71595f16 100644 --- a/indra/llcommon/llprocess.cpp +++ b/indra/llcommon/llprocess.cpp @@ -120,7 +120,9 @@ LLProcess::LLProcess(const LLSDOrParams& params): // As of 2012-02-02, we only expect this to be implemented on Windows. // Avoid spamming the log with warnings we fully expect. ll_apr_warn_status(ok); -# endif // LL_WINDOWS +#else // ! LL_WINDOWS + (void)ok; // suppress 'unused' warning +# endif // ! LL_WINDOWS #else LL_WARNS("LLProcess") << "This version of APR lacks Linden apr_procattr_autokill_set() extension" << LL_ENDL; #endif |