aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CommandLineInterface.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/CommandLineInterface.cpp b/CommandLineInterface.cpp
index 08acb5eb..867e832d 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"));