mirror of
https://github.com/aria2/aria2.git
synced 2025-01-04 09:03:46 +00:00
Silence some compiler warnings in SessionSerializer.
This commit is contained in:
parent
bd29fd2c30
commit
0f805fb962
@ -344,6 +344,7 @@ protected:
|
||||
virtual size_t onRead(void* ptr, size_t count) CXX11_OVERRIDE
|
||||
{
|
||||
assert(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
virtual size_t onWrite(const void* ptr, size_t count) CXX11_OVERRIDE
|
||||
@ -356,11 +357,13 @@ protected:
|
||||
virtual char* onGets(char* s, int size) CXX11_OVERRIDE
|
||||
{
|
||||
assert(0);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
virtual int onVprintf(const char* format, va_list va) CXX11_OVERRIDE
|
||||
{
|
||||
assert(0);
|
||||
return -1;
|
||||
}
|
||||
|
||||
virtual int onFlush() CXX11_OVERRIDE
|
||||
|
Loading…
Reference in New Issue
Block a user