You're saying you would write the entire hash table four times, with everything duplicated and no reuse? Again: Why? What do you gain compared to one line to suppress a warning?
Clarity? And in C++ at least, I would re-write the functions.
Clarity? And in C++ at least, I would re-write the functions.