Fixed unused variable warning from gcc. (#159)

This makes it so that ntcore builds with -Wextra -Werror
This commit is contained in:
Austin Schuh
2016-11-26 16:28:50 -08:00
committed by Peter Johnson
parent 2657d89178
commit 00b76d42e0

View File

@@ -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*/) {}