summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/parser
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@digia.com>2013-09-20 15:05:49 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-06 08:01:07 +0100
commit11594920236c6ced5c866e26f08d2e484eeaf35e (patch)
tree96e130f1bd48dcacef4ef34bce384772860c509c /src/xmlpatterns/parser
parente382b722fa853e0241b396a13831bcdc9dd840b2 (diff)
downloadqtxmlpatterns-11594920236c6ced5c866e26f08d2e484eeaf35e.tar.gz
Fix MSVC2010 warnings.
Change-Id: I081b4ebad362d99dcae594f877592f2a910002f3 (cherry picked from commit e7a51b138772cb453555d27f44e6a2c0e79e799c) Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Diffstat (limited to 'src/xmlpatterns/parser')
-rw-r--r--src/xmlpatterns/parser/qquerytransformparser.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/xmlpatterns/parser/qquerytransformparser.cpp b/src/xmlpatterns/parser/qquerytransformparser.cpp
index 3b01479..b2544e8 100644
--- a/src/xmlpatterns/parser/qquerytransformparser.cpp
+++ b/src/xmlpatterns/parser/qquerytransformparser.cpp
@@ -3480,6 +3480,7 @@ yydestruct (yymsg, yytype, yyvaluep, yylocationp, parseInfo)
ParserContext *const parseInfo;
#endif
{
+ YYUSE (yytype);
YYUSE (yyvaluep);
YYUSE (yylocationp);
YYUSE (parseInfo);
@@ -3487,13 +3488,6 @@ yydestruct (yymsg, yytype, yyvaluep, yylocationp, parseInfo)
if (!yymsg)
yymsg = "Deleting";
YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
-
- switch (yytype)
- {
-
- default:
- break;
- }
}