Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

Commit

Permalink
Fixed unused variable warning from gcc. (#159)
Browse files Browse the repository at this point in the history
This makes it so that ntcore builds with -Wextra -Werror
  • Loading branch information
AustinSchuh authored and PeterJohnson committed Nov 27, 2016
1 parent bc06c84 commit e7c4150
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions wpiutil/src/llvm/raw_ostream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -845,12 +845,11 @@ raw_null_ostream::~raw_null_ostream() {
#endif
}

void raw_null_ostream::write_impl(const char *Ptr, size_t Size) {
}
void raw_null_ostream::write_impl(const char * /*Ptr*/, size_t /*Size*/) {}

uint64_t raw_null_ostream::current_pos() const {
return 0;
}

void raw_null_ostream::pwrite_impl(const char *Ptr, size_t Size,
uint64_t Offset) {}
void raw_null_ostream::pwrite_impl(const char * /*Ptr*/, size_t /*Size*/,
uint64_t /*Offset*/) {}

0 comments on commit e7c4150

Please sign in to comment.