remove unused code

This commit is contained in:
moneromooo-monero 2019-04-29 16:53:38 +00:00
parent 25a7cfdb4a
commit 1a66a86f94
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
6 changed files with 2 additions and 13 deletions

View file

@ -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);