[core] Simplify code for report_warning(). #32784
+24
−11
Open
Loading