diff options
Diffstat (limited to 'sca-cpp/trunk/kernel/string-test.cpp')
-rw-r--r-- | sca-cpp/trunk/kernel/string-test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-cpp/trunk/kernel/string-test.cpp b/sca-cpp/trunk/kernel/string-test.cpp index 23fa2b9457..5919eed3de 100644 --- a/sca-cpp/trunk/kernel/string-test.cpp +++ b/sca-cpp/trunk/kernel/string-test.cpp @@ -40,7 +40,7 @@ bool testCopies() { string y = string("abcd"); assert(checkStringCopyCounters(1)); resetStringCopyCounters(); - string z = y; + unused string z = y; assert(checkStringCopyCounters(0)); resetStringCopyCounters(); const list<string> pl = list<string>() + "abcd" + "efgh"; @@ -119,7 +119,7 @@ string add(string& x, string& y) { return x + y; } -char charBuffer[16384]; +char charBuffer[16385]; struct addStrings{ const size_t size; |