Fix most Clang 10 Warnings
Refs: #5550, #5294
Remove dead code from Phab:rP16704 Fix buggy code from Phab:rP15909 Comments by: @wraitii, @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D3177