From c7ac1f55b25d3e6becfab02801ae5ea8cf125f82 Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 10 Mar 2015 15:11:13 +0100 Subject: [PATCH] Fixed some checker warnings. --- CommandLineInterface.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/CommandLineInterface.cpp b/CommandLineInterface.cpp index 08acb5ebd..867e832d7 100644 --- a/CommandLineInterface.cpp +++ b/CommandLineInterface.cpp @@ -345,18 +345,11 @@ bool CommandLineInterface::processInput() void CommandLineInterface::handleAst(string const& _argStr) { string title; - string suffix; if (_argStr == g_argAstStr) - { title = "Syntax trees:"; - suffix = ".ast"; - } else if (_argStr == g_argAstJson) - { title = "JSON AST:"; - suffix = ".json"; - } else BOOST_THROW_EXCEPTION(InternalCompilerError() << errinfo_comment("Illegal argStr for AST"));