Suppress a specific unused-var warning on Posix platforms.

master
Nat Goodspeed 2012-02-13 09:41:50 -05:00
parent 6da3f0907c
commit 0f2882ec95
1 changed files with 3 additions and 1 deletions

View File

@ -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