diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-03-04 19:23:15 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-03-04 19:23:15 +0300 |
commit | 2f5df4631d2e72afe54380148335f1b6d2fb2ed2 (patch) | |
tree | bbeee9a07d2deb10fe131e6dff782c61a4415cb0 /intern/memutil | |
parent | ae32a538ddf5b4f17c4f956ecafba3722a613d90 (diff) |
Fixes for some gcc 4 warnings in intern/. More than 100 lines of warnings
for 2 unused parameters in templated c++ code, that's just ridiculous.
Diffstat (limited to 'intern/memutil')
-rw-r--r-- | intern/memutil/MEM_Allocator.h | 4 | ||||
-rw-r--r-- | intern/memutil/MEM_RefCountPtr.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/intern/memutil/MEM_Allocator.h b/intern/memutil/MEM_Allocator.h index b3a6df74ba2..68712e45558 100644 --- a/intern/memutil/MEM_Allocator.h +++ b/intern/memutil/MEM_Allocator.h @@ -54,11 +54,11 @@ struct MEM_Allocator #endif MEM_Allocator() throw() {} - MEM_Allocator(const MEM_Allocator& __a) throw() {} + MEM_Allocator(const MEM_Allocator&) throw() {} #ifndef MS_VISUALC_6_0_WORKAROUND template<typename _Tp1> - MEM_Allocator(const MEM_Allocator<_Tp1> __a) throw() { } + MEM_Allocator(const MEM_Allocator<_Tp1>) throw() { } #endif ~MEM_Allocator() throw() {} diff --git a/intern/memutil/MEM_RefCountPtr.h b/intern/memutil/MEM_RefCountPtr.h index f71d9902a05..042c90fa0cb 100644 --- a/intern/memutil/MEM_RefCountPtr.h +++ b/intern/memutil/MEM_RefCountPtr.h @@ -140,7 +140,7 @@ protected : }; MEM_RefCountable ( - const MEM_RefCountable & other + const MEM_RefCountable & ) : m_count (0) { |