Skip to content

frontends/omx: fix build warning

Leo Liu requested to merge leoliu/mesa:fix_warning into master

From code path, it's easy to see that the variable is only used with condition, and the variable gets initialized with the same condition before getting used, but we can initialize it when defined to avoid the warning.

Signed-off-by: Leo Liu <leo.liu@amd.com>

Edited by Leo Liu

Merge request reports