Revert "core/output.cpp: remove compilation warning"

This reverts commit 5a22cfd9.
9 jobs for feature-a/1233-zero-warning-failed in 322 minutes and 2 seconds (queued for 16 minutes and 6 seconds)
latest