Skip to content

frontend: remove useless if (section)

Pekka Paalanen requested to merge pq/weston:mr/ifsection into main

If section is NULL, weston_config_section_get_*() will assign the given default value and return -1 with ENOENT. Hence, checking for NULL section is unnecessary.

This cleans up only the simple cases.

Merge request reports

Loading