aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/17_intro/header_cstring.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/17_intro/header_cstring.cc')
-rw-r--r--libstdc++-v3/testsuite/17_intro/header_cstring.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/17_intro/header_cstring.cc b/libstdc++-v3/testsuite/17_intro/header_cstring.cc
index ae8852a43e0..3085763954b 100644
--- a/libstdc++-v3/testsuite/17_intro/header_cstring.cc
+++ b/libstdc++-v3/testsuite/17_intro/header_cstring.cc
@@ -1,6 +1,6 @@
// 2000-01-01 bkoz
-// Copyright (C) 2001 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2003 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -26,6 +26,6 @@
int main(void)
{
// Make sure size_t is in namespace std
- std::size_t i = std::strlen("tibet shop/san francisco (415) 982-0326");
+ std::size_t i __attribute__((unused)) = std::strlen("tibet shop/san francisco (415) 982-0326");
return 0;
}