diff --git a/inst/include/sfheaders/df/sfg.hpp b/inst/include/sfheaders/df/sfg.hpp index 757b7f9..f67da07 100644 --- a/inst/include/sfheaders/df/sfg.hpp +++ b/inst/include/sfheaders/df/sfg.hpp @@ -72,7 +72,7 @@ namespace df { } else if ( dim == "XYZ" ) { columns[ Z_COLUMN ] = true; } else if ( dim == "XYM" ) { - columns[ M_COLUMN ] = true; + columns[ M_COLUMN ] = true; // #nocov } columns[ X_COLUMN ] = true; diff --git a/inst/include/sfheaders/sfc/point/sfc_point.hpp b/inst/include/sfheaders/sfc/point/sfc_point.hpp index c4fb7e0..bc8ce32 100644 --- a/inst/include/sfheaders/sfc/point/sfc_point.hpp +++ b/inst/include/sfheaders/sfc/point/sfc_point.hpp @@ -129,7 +129,7 @@ namespace sfc { for( i = 0; i < n_row; i++ ) { Rcpp::IntegerVector this_point = im( i, Rcpp::_ ); if( sfheaders::utils::is_null_geometry( this_point, "POINT" ) ) { - n_empty++; + n_empty++; // #nocov } sfc[i] = sfheaders::sfg::sfg_point( this_point, cols ); }