aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-29 16:53:38 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-04-29 20:52:40 +0000
commit1a66a86f94380e24e3aadba649e47708cfe401d0 (patch)
treef2a84d767ef9217f4492feaa453942dcf64dc63f /tests
parentadd a few checks where it seems appropriate (diff)
downloadmonero-1a66a86f94380e24e3aadba649e47708cfe401d0.tar.xz
remove unused code
Diffstat (limited to 'tests')
-rw-r--r--tests/unit_tests/varint.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/unit_tests/varint.cpp b/tests/unit_tests/varint.cpp
index ca0900682..72691d722 100644
--- a/tests/unit_tests/varint.cpp
+++ b/tests/unit_tests/varint.cpp
@@ -56,7 +56,6 @@ TEST(varint, equal)
ASSERT_TRUE (bytes > 0 && bytes <= sizeof(buf));
uint64_t idx2;
- bufptr = buf;
std::string s(buf, bytes);
int read = tools::read_varint(s.begin(), s.end(), idx2);
ASSERT_EQ (read, bytes);