summaryrefslogtreecommitdiff
path: root/indra/llcommon/llprocess.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2012-02-13 09:41:50 -0500
committerNat Goodspeed <nat@lindenlab.com>2012-02-13 09:41:50 -0500
commit0f2882ec95fc6cd2649fbe4e952ce1bc586bb853 (patch)
tree3bf07b8dfe444ae0e77c1fd8ce6dbc41a0f468ce /indra/llcommon/llprocess.cpp
parent6da3f0907cea3748adb6be9a7c393835109adf3b (diff)
Suppress a specific unused-var warning on Posix platforms.
Diffstat (limited to 'indra/llcommon/llprocess.cpp')
-rw-r--r--indra/llcommon/llprocess.cpp4
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