Skip to content
Commit 3908e3e3 authored by Pekka Paalanen's avatar Pekka Paalanen Committed by Derek Foreman
Browse files

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: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
parent 3b7cfdb5
Pipeline #1205782 passed with stages
in 4 minutes and 45 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment