frontend: remove useless if (section)
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.
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
parent
3b7cfdb5
Loading
Loading
Pipeline
#1205782
passed
with stages
in
4 minutes and 45 seconds
Loading
Please register or sign in to comment