Skip to content

Commit 60fc456

Browse files
committed
suppress two "unused paramter 'x'" warnings
1 parent 27825e0 commit 60fc456

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

inst/include/Rcpp/api/meat/is.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ namespace internal{
5151
template <> inline bool is__simple<CharacterMatrix>(SEXP x) {
5252
return TYPEOF(x) == STRSXP && is_matrix(x);
5353
}
54-
template <> inline bool is__simple<RObject>( SEXP x ){
54+
template <> inline bool is__simple<RObject>(SEXP) {
5555
return true ;
5656
}
5757
template <> inline bool is__simple<IntegerVector>( SEXP x ){

inst/include/Rcpp/traits/is_finite.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ namespace Rcpp{
4646
}
4747

4848
template <>
49-
inline bool is_finite<STRSXP>(SEXP x) {
50-
return false; // see rcpp-devel on 2013-10-02; was: x != NA_STRING;
49+
inline bool is_finite<STRSXP>(SEXP) {
50+
return false; // see rcpp-devel on 2013-10-02; was: x != NA_STRING;
5151
}
5252

5353
template <>

0 commit comments

Comments
 (0)