mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
Fixed unused variable warning from gcc. (#159)
This makes it so that ntcore builds with -Wextra -Werror
This commit is contained in:
committed by
Peter Johnson
parent
2657d89178
commit
00b76d42e0
@@ -845,12 +845,11 @@ raw_null_ostream::~raw_null_ostream() {
|
|||||||
#endif
|
#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 {
|
uint64_t raw_null_ostream::current_pos() const {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void raw_null_ostream::pwrite_impl(const char *Ptr, size_t Size,
|
void raw_null_ostream::pwrite_impl(const char * /*Ptr*/, size_t /*Size*/,
|
||||||
uint64_t Offset) {}
|
uint64_t /*Offset*/) {}
|
||||||
|
|||||||
Reference in New Issue
Block a user