mirror of
https://github.com/flatpak/flatpak.git
synced 2026-09-27 15:46:58 -04:00
dir, system-helper: Don't ignore errors when getting a remote's URL
Of the 27 instances where ostree_repo_remote_get_url() is used, these are the only ones where the return value is ignored. This triggers Coverity. It might not always be strictly necessary to handle the errors, but doing so can only help with debugging. However, in the case of flatpak_dir_get_remote_disabled() this clarifies the subtle difference between an empty URL (ie., ""), and a NULL URL caused by a corrupt configuration file or a missing "url" key.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f