Skip to content

Commit 795b5f8

Browse files
committed
silence two unused var warnings
1 parent 9ce352d commit 795b5f8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: Rcpp
22
Title: Seamless R and C++ Integration
3-
Version: 0.11.6
4-
Date: 2015-05-01
3+
Version: 0.11.6.1
4+
Date: 2015-05-16
55
Author: Dirk Eddelbuettel, Romain Francois, JJ Allaire, Kevin Ushey,
66
Douglas Bates, and John Chambers
77
Maintainer: Dirk Eddelbuettel <edd@debian.org>

inst/include/Rcpp/Interrupt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ namespace Rcpp {
4949
// R_ToplevelExec so it doesn't longjmp
5050
namespace {
5151

52-
inline void checkInterruptFn(void *dummy) {
52+
inline void checkInterruptFn(void* /*dummy*/) {
5353
R_CheckUserInterrupt();
5454
}
5555

inst/include/Rcpp/internal/r_vector.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,21 +68,21 @@ template<int RTYPE> void r_init_vector(SEXP x){
6868
* R already initializes all elements to NULL
6969
*/
7070
template<>
71-
inline void r_init_vector<VECSXP>(SEXP x){}
71+
inline void r_init_vector<VECSXP>(SEXP /*x*/){}
7272

7373
/**
7474
* Initializes an expression vector (EXPRSXP). Does nothing since
7575
* R already initializes all elements to NULL
7676
*/
7777
template<>
78-
inline void r_init_vector<EXPRSXP>(SEXP x){}
78+
inline void r_init_vector<EXPRSXP>(SEXP /*x*/){}
7979

8080
/**
8181
* Initializes a character vector (STRSXP). Does nothing since
8282
* R already initializes all elements to ""
8383
*/
8484
template<>
85-
inline void r_init_vector<STRSXP>(SEXP x){}
85+
inline void r_init_vector<STRSXP>(SEXP /*x*/){}
8686

8787

8888

0 commit comments

Comments
 (0)