From 23d879362e0690eb71d3958d0b1a331211468eb6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 21 Oct 2009 18:41:44 +0200 Subject: Get rid of warnings --- tests/cxx/parser/error-handling/codes/driver.cxx | 5 +++++ tests/cxx/serializer/error-handling/codes/driver.cxx | 1 + 2 files changed, 6 insertions(+) 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; } } } -- cgit v1.1