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.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
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.