diff options
author | Kalev Lember <kalevlember@gmail.com> | 2014-09-09 17:21:47 +0200 |
---|---|---|
committer | Kalev Lember <kalevlember@gmail.com> | 2014-09-09 18:01:28 +0200 |
commit | a0cb80e5c50831bd7ef45ef3ae3f08053fb7524a (patch) | |
tree | 19d1b2cde738098d6c02e5423a1c2e7cd108d4c9 /client/pk-offline-update.c | |
parent | 64309a930c92654974e2079d7ee5d71ab1f2b8a6 (diff) |
trivial: Fix an uninitialized variable warning
Diffstat (limited to 'client/pk-offline-update.c')
-rw-r--r-- | client/pk-offline-update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/pk-offline-update.c b/client/pk-offline-update.c index 23d3c16b3..9027750d4 100644 --- a/client/pk-offline-update.c +++ b/client/pk-offline-update.c @@ -365,7 +365,7 @@ pk_offline_update_get_action (void) int main (int argc, char *argv[]) { - PkOfflineAction action; + PkOfflineAction action = PK_OFFLINE_ACTION_UNKNOWN; gint retval; _cleanup_error_free_ GError *error = NULL; _cleanup_main_loop_unref_ GMainLoop *loop = NULL; |