]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/include/yaffut.hh
Issue 2036: keep make test in flower from warnings
[lilypond.git] / flower / include / yaffut.hh
index cf444626d9439e4b11b6a691e70556bceb1ca5ac..0da01807d48a263cba2cb3736f51d14f21ba0873 100644 (file)
@@ -278,7 +278,7 @@ struct Test: public ITest, public virtual Suite
   Test (): Suite ()
   {
     Registrator<Suite, Case>* r = &s_Registrator;
-    r = 0;
+    (void)r;
   }
   template <typename E, typename T>
   void assert_throw (void (T::*mf) (), const char *at)
@@ -302,7 +302,7 @@ struct Test<Case, void>: public ITest
   Test ()
   {
     Registrator<Case, void>* r = &s_Registrator;
-    r = 0;
+    (void)r;
   }
   template <typename E, typename T>
   void assert_throw (void (T::*mf) (), const char *at)