diff --git a/src/include/fb_blk.h b/src/include/fb_blk.h index b57443f3c4..65142f4d5c 100644 --- a/src/include/fb_blk.h +++ b/src/include/fb_blk.h @@ -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 @@ -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 diff --git a/src/jrd/jrd.h b/src/jrd/jrd.h index 59abafee34..beeb9c9f17 100644 --- a/src/jrd/jrd.h +++ b/src/jrd/jrd.h @@ -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*) { }