mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
Harmless warnings, but anyway...
This commit is contained in:
parent
1b54d3981f
commit
b66d6d9f64
@ -170,8 +170,8 @@ public:
|
||||
|
||||
private:
|
||||
// These operators are off-limits
|
||||
void* operator new(size_t s) { return 0; }
|
||||
void* operator new[](size_t s) { return 0; }
|
||||
void* operator new(size_t) { return 0; }
|
||||
void* operator new[](size_t) { return 0; }
|
||||
};
|
||||
|
||||
template<typename RPT, BlockType BLOCK_TYPE = type_unknown>
|
||||
@ -193,16 +193,16 @@ public:
|
||||
|
||||
private:
|
||||
// These operations are not supported on static repeat-base objects
|
||||
void* operator new[](size_t s, MemoryPool& p)
|
||||
void* operator new[](size_t /*s*/, MemoryPool& /*p*/)
|
||||
{ return 0; }
|
||||
void operator delete[](void* mem, MemoryPool& p)
|
||||
void operator delete[](void* /*mem*/, MemoryPool& /*p*/)
|
||||
{ }
|
||||
void operator delete[](void* mem)
|
||||
void operator delete[](void* /*mem*/)
|
||||
{ }
|
||||
|
||||
// These operators are off-limits
|
||||
void* operator new(size_t s) { return 0; }
|
||||
void* operator new[](size_t s) { return 0; }
|
||||
void* operator new(size_t) { return 0; }
|
||||
void* operator new[](size_t) { return 0; }
|
||||
};
|
||||
|
||||
#endif // INCLUDE_FB_BLK
|
||||
|
@ -988,11 +988,11 @@ inline Jrd::thread_db* JRD_get_thread_data()
|
||||
return (Jrd::thread_db*) ThreadData::getSpecific();
|
||||
}
|
||||
|
||||
inline void CHECK_DBB(const Jrd::Database* dbb)
|
||||
inline void CHECK_DBB(const Jrd::Database*)
|
||||
{
|
||||
}
|
||||
|
||||
inline void CHECK_TDBB(const Jrd::thread_db* tdbb)
|
||||
inline void CHECK_TDBB(const Jrd::thread_db*)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user