mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-03 19:59:26 +00:00
trivial: Fix build warning when compiling without systemd
This commit is contained in:
parent
db8533f743
commit
3a0ee309d5
@ -167,9 +167,8 @@ fu_util_show_plugin_warnings (FuUtilPrivate *priv)
|
||||
static gboolean
|
||||
fu_util_start_engine (FuUtilPrivate *priv, FuEngineLoadFlags flags, GError **error)
|
||||
{
|
||||
g_autoptr(GError) error_local = NULL;
|
||||
|
||||
#ifdef HAVE_SYSTEMD
|
||||
g_autoptr(GError) error_local = NULL;
|
||||
if (!fu_systemd_unit_stop (fu_util_get_systemd_unit (), &error_local))
|
||||
g_debug ("Failed to stop daemon: %s", error_local->message);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user