[Rcpp-commits] r273 - pkg/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Jan 4 22:32:18 CET 2010
Author: edd
Date: 2010-01-04 22:32:18 +0100 (Mon, 04 Jan 2010)
New Revision: 273
Modified:
pkg/src/Environment.cpp
Log:
another -Wall induces change -- does the else branch need a throw or a return?
Modified: pkg/src/Environment.cpp
===================================================================
--- pkg/src/Environment.cpp 2010-01-04 21:10:50 UTC (rev 272)
+++ pkg/src/Environment.cpp 2010-01-04 21:32:18 UTC (rev 273)
@@ -161,6 +161,7 @@
} else{
throw no_such_binding(name) ;
}
+ return true; // to make g++ -Wall happy
}
bool Environment::isLocked() const{
More information about the Rcpp-commits
mailing list