KVIrc
KVIrc copied to clipboard
kvilib/core/KviPointerHas hTable.h:174: possible infinite recursion
kvilib/core/KviPointerHashTable.h:174:1: warning: all paths through this function will call itself [-Winfinite-recursion]
Source code is
inline bool kvi_hash_key_equal(const KviCString & szKey1, const KviCString & szKey2) { return kvi_hash_key_equal(szKey1.ptr(), szKey2.ptr()); }
Where you get this warning from?
clang, a C++ compiler, with flag -Wall.
Doesn't look like that code is called from anywhere
I see other kvi_hash_key_equal functions, but they have an additional bool param; with it, the inner call would choose a different overload. But as is, it looks like recursion yes