From df5944094f2789900cc0bb22a7557c99f5f9af26 Mon Sep 17 00:00:00 2001 From: Rodrigo Tobar Date: Fri, 16 Nov 2018 17:16:22 +0800 Subject: [PATCH] Removing unused variables These caused a bit of noise while compiling the package. Tested with clang++ 7.0 and -Wall, but probably other compilers would also complain with a high warning setting. Signed-off-by: Rodrigo Tobar --- src/bigmemory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bigmemory.cpp b/src/bigmemory.cpp index 8cdcacb..8823080 100644 --- a/src/bigmemory.cpp +++ b/src/bigmemory.cpp @@ -1083,7 +1083,7 @@ SEXP get_order( MatrixAccessorType m, SEXP columns, SEXP naLast, index_type col; OrderVecs ov; ov.reserve(m.nrow()); - typename OrderVecs::iterator begin, end, it, naIt; + typename OrderVecs::iterator it; ValueType val; for (k=Rf_length(columns)-1; k >= 0; --k) { @@ -1172,7 +1172,7 @@ SEXP get_order2( MatrixAccessorType m, SEXP rows, SEXP naLast, index_type row; OrderVecs ov; ov.reserve(m.ncol()); - typename OrderVecs::iterator begin, end, it, naIt; + typename OrderVecs::iterator it; ValueType val; for (k=Rf_length(rows)-1; k >= 0; --k) {