[Rcpp-commits] r944 - pkg/Rcpp/src/Rcpp

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Mar 26 06:16:14 CET 2010


Author: romain
Date: 2010-03-26 06:16:13 +0100 (Fri, 26 Mar 2010)
New Revision: 944

Modified:
   pkg/Rcpp/src/Rcpp/Vector.h
Log:
one more pedantic findings

Modified: pkg/Rcpp/src/Rcpp/Vector.h
===================================================================
--- pkg/Rcpp/src/Rcpp/Vector.h	2010-03-26 05:13:57 UTC (rev 943)
+++ pkg/Rcpp/src/Rcpp/Vector.h	2010-03-26 05:16:13 UTC (rev 944)
@@ -2109,7 +2109,7 @@
 	
 	iterator insert__impl( iterator position, const stored_type& object){
 		int n = size() ;
-		iterator start = begin() ;
+		// iterator start = begin() ;
 		// int pos = position - start ;
 		Vector target( n+1 ) ;
 		iterator target_it = target.begin();



More information about the Rcpp-commits mailing list