diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-29 16:53:38 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-29 20:52:40 +0000 |
commit | 1a66a86f94380e24e3aadba649e47708cfe401d0 (patch) | |
tree | f2a84d767ef9217f4492feaa453942dcf64dc63f /src/ringct | |
parent | add a few checks where it seems appropriate (diff) | |
download | monero-1a66a86f94380e24e3aadba649e47708cfe401d0.tar.xz |
remove unused code
Diffstat (limited to 'src/ringct')
-rw-r--r-- | src/ringct/multiexp.cc | 1 | ||||
-rw-r--r-- | src/ringct/rctTypes.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/ringct/multiexp.cc b/src/ringct/multiexp.cc index 6f77fed34..f69b4a12c 100644 --- a/src/ringct/multiexp.cc +++ b/src/ringct/multiexp.cc @@ -447,7 +447,6 @@ rct::key straus(const std::vector<MultiexpData> &data, const std::shared_ptr<str { CHECK_AND_ASSERT_THROW_MES(cache == NULL || cache->size >= data.size(), "Cache is too small"); MULTIEXP_PERF(PERF_TIMER_UNIT(straus, 1000000)); - bool HiGi = cache != NULL; STEP = STEP ? STEP : 192; MULTIEXP_PERF(PERF_TIMER_START_UNIT(setup, 1000000)); diff --git a/src/ringct/rctTypes.cpp b/src/ringct/rctTypes.cpp index f01e683cb..2c4e5fc3b 100644 --- a/src/ringct/rctTypes.cpp +++ b/src/ringct/rctTypes.cpp @@ -190,7 +190,6 @@ namespace rct { int byte, i, j; for (j = 0; j < 8; j++) { byte = 0; - i = 8 * j; for (i = 7; i > -1; i--) { byte = byte * 2 + amountb2[8 * j + i]; } |