summaryrefslogtreecommitdiffstats
path: root/capabilities.cc
diff options
context:
space:
mode:
Diffstat (limited to 'capabilities.cc')
-rw-r--r--capabilities.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/capabilities.cc b/capabilities.cc
index e073d2c..2747fc9 100644
--- a/capabilities.cc
+++ b/capabilities.cc
@@ -33,7 +33,7 @@
#include "capabilities.hh"
#include "misc.hh"
-bool dropCapabilities(std::set<std::string> capabilitiesToKeep)
+bool dropCapabilities([[maybe_unused]] std::set<std::string> capabilitiesToKeep)
{
#ifdef HAVE_LIBCAP
cap_t caps = cap_get_proc();