aboutsummaryrefslogtreecommitdiffstats
path: root/CommandLineInterface.cpp
diff options
context:
space:
mode:
authorGav Wood <g@ethdev.com>2015-03-11 02:44:34 +0800
committerGav Wood <g@ethdev.com>2015-03-11 02:44:34 +0800
commit72385175aa8a5e500e62e441c8ac02c3323a1d4f (patch)
tree0fbd34911bd106bfc68c6bb6949b650824048155 /CommandLineInterface.cpp
parent7f02f86ab07abeb47eff605cc0fcd067bc0ff55a (diff)
parentc7ac1f55b25d3e6becfab02801ae5ea8cf125f82 (diff)
downloaddexon-solidity-72385175aa8a5e500e62e441c8ac02c3323a1d4f.tar
dexon-solidity-72385175aa8a5e500e62e441c8ac02c3323a1d4f.tar.gz
dexon-solidity-72385175aa8a5e500e62e441c8ac02c3323a1d4f.tar.bz2
dexon-solidity-72385175aa8a5e500e62e441c8ac02c3323a1d4f.tar.lz
dexon-solidity-72385175aa8a5e500e62e441c8ac02c3323a1d4f.tar.xz
dexon-solidity-72385175aa8a5e500e62e441c8ac02c3323a1d4f.tar.zst
dexon-solidity-72385175aa8a5e500e62e441c8ac02c3323a1d4f.zip
Merge pull request #1268 from chriseth/sol_checkerFixes
Fixed some checker warnings.
Diffstat (limited to 'CommandLineInterface.cpp')
-rw-r--r--CommandLineInterface.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/CommandLineInterface.cpp b/CommandLineInterface.cpp
index 01d8f848..6ed90cde 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"));