Skip to content
Snippets Groups Projects
Commit f3e58e4c authored by Olivier Dion's avatar Olivier Dion
Browse files

unitTest/common: Make GCC quiet about unused functions

Change-Id: I783cca7a53677dbaf1815aa6d0a5904f14baf0fd
parent 8a8abc19
Branches
No related tags found
No related merge requests found
...@@ -26,6 +26,10 @@ ...@@ -26,6 +26,10 @@
#include "fileutils.h" #include "fileutils.h"
#include "manager.h" #include "manager.h"
/* Make GCC quiet about unused functions */
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-function"
static void static void
wait_for_announcement_of(const std::vector<std::string> accountIDs, wait_for_announcement_of(const std::vector<std::string> accountIDs,
std::chrono::seconds timeout = std::chrono::seconds(30)) std::chrono::seconds timeout = std::chrono::seconds(30))
...@@ -188,3 +192,5 @@ load_actors_and_wait_for_announcement(const std::string& from_yaml) ...@@ -188,3 +192,5 @@ load_actors_and_wait_for_announcement(const std::string& from_yaml)
return actors; return actors;
} }
#pragma GCC diagnostic pop
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment