fix fedora warning, bad memcpy size in HASHITER assignment and
remove more obsolete code for #3894
===VersionHistory:Pending===