diff options
author | chriseth <c@ethdev.com> | 2015-03-10 22:11:13 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-03-10 22:11:13 +0800 |
commit | c7ac1f55b25d3e6becfab02801ae5ea8cf125f82 (patch) | |
tree | a086ccd9999c20b541adec97e80978dc15e0dece | |
parent | 665edd3f8648e227dfe196a60162a7ff8e16f45c (diff) | |
download | dexon-solidity-c7ac1f55b25d3e6becfab02801ae5ea8cf125f82.tar dexon-solidity-c7ac1f55b25d3e6becfab02801ae5ea8cf125f82.tar.gz dexon-solidity-c7ac1f55b25d3e6becfab02801ae5ea8cf125f82.tar.bz2 dexon-solidity-c7ac1f55b25d3e6becfab02801ae5ea8cf125f82.tar.lz dexon-solidity-c7ac1f55b25d3e6becfab02801ae5ea8cf125f82.tar.xz dexon-solidity-c7ac1f55b25d3e6becfab02801ae5ea8cf125f82.tar.zst dexon-solidity-c7ac1f55b25d3e6becfab02801ae5ea8cf125f82.zip |
Fixed some checker warnings.
-rw-r--r-- | CommandLineInterface.cpp | 7 |
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")); |