Revert "misc: Fix GCC warnings"

This reverts commit f00d7297b7d929c124f463c9b04d937a982bd2a4.
misc: Fix GCC warnings