Fix compile error with clang 3.8
[deliverable/binutils-gdb.git] / gdb / unittests / observable-selftests.c
index 6f2f7e8bccf7890e334c38da6d471ae7c51d9c80..903baa741c5546724de188fea32aebf8324f8cb7 100644 (file)
@@ -70,7 +70,7 @@ run_tests ()
      attached.  */
   notify_check_counters (0, 0, 0);
 
-  const gdb::observers::token token1, token2, token3;
+  const gdb::observers::token token1 {}, token2 {} , token3 {};
 
   /* Now, attach one observer, and send a notification.  */
   test_notification.attach (&test_second_notification_function, token2);
This page took 0.026131 seconds and 4 git commands to generate.