Skip to content

Commit

Permalink
Fix unused function warning (#2302)
Browse files Browse the repository at this point in the history
* Fix unused function warning

* ifdef unused function instead of deleting it
  • Loading branch information
sgpearse authored Jun 26, 2020
1 parent 27e10f5 commit 59c3322
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/wasp/WASP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ void vectorinc::ith(
offset = linearize_coords(start, _dims);
}

#ifdef UNUSED
bool vectorinc::next(vector <size_t> &start, size_t &offset) {

offset = 0;
Expand All @@ -206,6 +207,7 @@ bool vectorinc::next(vector <size_t> &start, size_t &offset) {

return(done);
}
#endif

// Execution thread state for data reads and writes
//
Expand Down

0 comments on commit 59c3322

Please sign in to comment.