diff --git a/tests/value.cpp b/tests/value.cpp
index 95562608ae0c66572348408c096f9c43b90c5593..177ace02f59e2ae08cc21841c9eb5b4595948978 100644
--- a/tests/value.cpp
+++ b/tests/value.cpp
@@ -90,7 +90,7 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
   res = false;
   try {
     unsigned int aint(anet);
-    aint++;
+    aint++; // silence unused variable warnings to have a stable release in the ros buildfarm
   } catch (const dg::ExceptionAbstract &aea) {
     res = (aea.getCode() == dg::ExceptionAbstract::TOOLS);
   }