mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Fix -Wextra compiler warnings. (#184)
* Fix -Wextra compiler warnings. Fix #183. Signed-off-by: Kyle Fazzari <github@status.e4ward.com> * Comment out unused parameters. This is done everywhere possible instead of using Internals::unused(). Note that this involved moving some implementations into the corresponding .cpp file. Signed-off-by: Kyle Fazzari <github@status.e4ward.com> * Fix warnings in tests as well. Signed-off-by: Kyle Fazzari <github@status.e4ward.com> * Leave IPv4Reassembler alone, it's growing. Signed-off-by: Kyle Fazzari <github@status.e4ward.com>
This commit is contained in:
committed by
Matias Fontanini
parent
94e5ac2109
commit
a71a3d29ff
@@ -508,8 +508,8 @@ public:
|
||||
*/
|
||||
static Dot11* from_bytes(const uint8_t* buffer, uint32_t total_sz);
|
||||
protected:
|
||||
virtual void write_ext_header(Memory::OutputMemoryStream& stream) { }
|
||||
virtual void write_fixed_parameters(Memory::OutputMemoryStream& stream) { }
|
||||
virtual void write_ext_header(Memory::OutputMemoryStream& stream);
|
||||
virtual void write_fixed_parameters(Memory::OutputMemoryStream& stream);
|
||||
void parse_tagged_parameters(Memory::InputMemoryStream& stream);
|
||||
void add_tagged_option(OptionTypes opt, uint8_t len, const uint8_t* val);
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user