fix warning: unused variable 'foo'

This commit is contained in:
Ben Noordhuis
2012-03-17 23:09:08 +01:00
parent cd725d680a
commit ca8d032cfb
6 changed files with 4 additions and 20 deletions

View File

@@ -487,9 +487,6 @@ void TestStringClass
i = a.length(); // i == 0
i = c.length(); // i == 4
const char *s1 = a.c_str(); // s1 == "\0"
const char *s2 = c.c_str(); // s2 == "test\0"
t = new idStr(); // t->len == 0, t->data == "\0"
delete t; // t == ?