aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/performance/map_create_fill.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/performance/map_create_fill.cc')
-rw-r--r--libstdc++-v3/testsuite/performance/map_create_fill.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/performance/map_create_fill.cc b/libstdc++-v3/testsuite/performance/map_create_fill.cc
index b2f52554143..0e675d00ffb 100644
--- a/libstdc++-v3/testsuite/performance/map_create_fill.cc
+++ b/libstdc++-v3/testsuite/performance/map_create_fill.cc
@@ -26,7 +26,7 @@ static void create_and_fill(const unsigned int n)
{
typedef std::map<int, int> Map;
Map m;
- bool test = true;
+ bool test __attribute__((unused)) = true;
for (unsigned int i = 0; i < n; ++i)
m[i] = i;