diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-05-09 17:51:16 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2017-05-09 17:51:16 +0800 |
commit | 9dac41d845dbce87e5cc492abc9a4583bc1f85af (patch) | |
tree | 0e1f3b8004c3cdedd0cc9fd34c9cdc583516412b /test/libjulia/Parser.cpp | |
parent | 9e8e6dd57b03a24dbe4bd2173c4a45ff2b0286cc (diff) | |
download | dexon-solidity-9dac41d845dbce87e5cc492abc9a4583bc1f85af.tar dexon-solidity-9dac41d845dbce87e5cc492abc9a4583bc1f85af.tar.gz dexon-solidity-9dac41d845dbce87e5cc492abc9a4583bc1f85af.tar.bz2 dexon-solidity-9dac41d845dbce87e5cc492abc9a4583bc1f85af.tar.lz dexon-solidity-9dac41d845dbce87e5cc492abc9a4583bc1f85af.tar.xz dexon-solidity-9dac41d845dbce87e5cc492abc9a4583bc1f85af.tar.zst dexon-solidity-9dac41d845dbce87e5cc492abc9a4583bc1f85af.zip |
Remove an unused function `successAssemble`
Otherwise, I see a build failure:
test/libjulia/Parser.cpp:92:6: error: ‘bool dev::solidity::test::{anonymous}::successAssemble(const string&, bool)’ defined but not used [-Werror=unused-function]
bool successAssemble(string const& _source, bool _allowWarnings = true)
^~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
Diffstat (limited to 'test/libjulia/Parser.cpp')
-rw-r--r-- | test/libjulia/Parser.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/libjulia/Parser.cpp b/test/libjulia/Parser.cpp index 0dfd3033..11820c01 100644 --- a/test/libjulia/Parser.cpp +++ b/test/libjulia/Parser.cpp @@ -89,11 +89,6 @@ bool successParse(std::string const& _source, bool _allowWarnings = true) return !parseAndReturnFirstError(_source, _allowWarnings); } -bool successAssemble(string const& _source, bool _allowWarnings = true) -{ - return successParse(_source, _allowWarnings); -} - Error expectError(std::string const& _source, bool _allowWarnings = false) { |