mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2026-10-12 05:48:00 +08:00
Fix -Wshadow compilation errors (#373)
This commit is contained in:
1 parent
cc9b8e6b0e
commit
5385afa67e
3 files changed
+1
-3
No files matched your search
@@ -307,7 +307,6 @@ public:
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
// These are marked DLL_EXPORT for Linux.
|
||||
DECLARE_TIER1_INTERFACE( ICvar, cvar );
|
||||
DECLARE_TIER1_INTERFACE( ICvar, g_pCVar );
|
||||
|
||||
|
||||
|
||||
@@ -262,7 +262,6 @@ namespace panorama
|
||||
DECLARE_TIER1_INTERFACE( IApplication, g_pApplication );
|
||||
|
||||
#define CVAR_INTERFACE_VERSION "VEngineCvar007"
|
||||
DECLARE_TIER1_INTERFACE( ICvar, cvar );
|
||||
DECLARE_TIER1_INTERFACE( ICvar, g_pCVar );
|
||||
|
||||
#define STRINGTOKENSYSTEM_INTERFACE_VERSION "VStringTokenSystem001"
|
||||
|
||||
@@ -804,7 +804,7 @@ template<class Data, class HashFuncs>
|
||||
int bucketCount = m_aBuckets.Count();
|
||||
for ( int bucket = iter.bucket+1 ; bucket < bucketCount ; ++bucket )
|
||||
{
|
||||
UtlHashFastHandle_t next = m_aBuckets[bucket]; // get the head of the bucket
|
||||
next = m_aBuckets[bucket]; // get the head of the bucket
|
||||
if (next != invalidIndex)
|
||||
return UtlHashFastIterator_t( bucket, next );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user