Remove gcc specific syntax and add explicit type casts to make clang-analyzer happy
ok.T: stop reading uninitialized value.
Pub3tracereplayer: fix reading unitialized value.
mtdispatch: Stop returning garbage threads on error.
Silence some static analyzer warnings
Unused variable