aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-10-21 18:41:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-10-21 18:41:44 +0200
commit23d879362e0690eb71d3958d0b1a331211468eb6 (patch)
tree1d6facc7867816e255e7641d465025910652125e
parent28c9fe4e51827790ef9e770f54d669a8656fda4e (diff)
Get rid of warnings
-rw-r--r--tests/cxx/parser/error-handling/codes/driver.cxx5
-rw-r--r--tests/cxx/serializer/error-handling/codes/driver.cxx1
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/cxx/parser/error-handling/codes/driver.cxx b/tests/cxx/parser/error-handling/codes/driver.cxx
index 8b3c693..58de873 100644
--- a/tests/cxx/parser/error-handling/codes/driver.cxx
+++ b/tests/cxx/parser/error-handling/codes/driver.cxx
@@ -259,6 +259,11 @@ main (int argc, char* argv[])
<< e.app_code () << endl;
break;
}
+ default:
+ {
+ cout << "no error" << endl;
+ break;
+ }
}
continue;
diff --git a/tests/cxx/serializer/error-handling/codes/driver.cxx b/tests/cxx/serializer/error-handling/codes/driver.cxx
index ba1f6cd..2e83c34 100644
--- a/tests/cxx/serializer/error-handling/codes/driver.cxx
+++ b/tests/cxx/serializer/error-handling/codes/driver.cxx
@@ -242,6 +242,7 @@ print (xml_schema::serializer_error e)
default:
{
cout << "no error" << endl;
+ break;
}
}
}