diff --git a/src/modules/netinstall/Tests.cpp b/src/modules/netinstall/Tests.cpp
index 9f38f6fbf..df5d5ad60 100644
--- a/src/modules/netinstall/Tests.cpp
+++ b/src/modules/netinstall/Tests.cpp
@@ -392,7 +392,7 @@ ItemTests::testUrlFallback()
             QVERIFY( map.count() > 0 );
             c.setConfigurationMap( map );
         }
-        catch ( YAML::Exception& e )
+        catch ( YAML::Exception& )
         {
             bool badYaml = true;
             QVERIFY( !badYaml );