Skip to content

Commit 1d4e1f5

Browse files
authored
Merge pull request #4539 from cgwalters/fix-uninit-warning
status: Fix possibly uninitialized warning
2 parents e6180fc + cac1337 commit 1d4e1f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/rpmostree-builtin-status.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ print_daemon_state (RPMOSTreeSysroot *sysroot_proxy, GCancellable *cancellable,
421421
{
422422
g_print ("AutomaticUpdates: %s", policy);
423423

424-
AutoUpdateSdState state;
424+
AutoUpdateSdState state = AUTO_UPDATE_SDSTATE_TIMER_UNKNOWN;
425425
g_autofree char *last_run = NULL;
426426
g_print ("; ");
427427
GDBusConnection *connection = g_dbus_proxy_get_connection (G_DBUS_PROXY (sysroot_proxy));

0 commit comments

Comments
 (0)