aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-04-13 02:13:16 +0800
committerchriseth <chris@ethereum.org>2018-04-13 02:13:16 +0800
commit966367305ad511900bedfd9af08114a0b1307399 (patch)
tree102ea2f5e50ea41c5e9ee05a2bdef13fb0082790 /test/libsolidity
parentb25598126e57fca73058edd722eef7c681460557 (diff)
downloaddexon-solidity-966367305ad511900bedfd9af08114a0b1307399.tar.gz
dexon-solidity-966367305ad511900bedfd9af08114a0b1307399.tar.zst
dexon-solidity-966367305ad511900bedfd9af08114a0b1307399.zip
Remove dead code and clarify throw.
Diffstat (limited to 'test/libsolidity')
-rw-r--r--test/libsolidity/Assembly.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/libsolidity/Assembly.cpp b/test/libsolidity/Assembly.cpp
index bdb7a107..77ca363a 100644
--- a/test/libsolidity/Assembly.cpp
+++ b/test/libsolidity/Assembly.cpp
@@ -157,7 +157,6 @@ BOOST_AUTO_TEST_CASE(location_test)
}
}
)";
- shared_ptr<string const> n = make_shared<string>("");
AssemblyItems items = compileContract(sourceCode);
vector<SourceLocation> locations =
vector<SourceLocation>(24, SourceLocation(2, 75, make_shared<string>(""))) +