mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-06 23:18:40 -04:00
repo: Avoid a compiler warning
Initialize mode_string. Its the right thing to do. Closes: #2192 Approved by: alexlarsson
This commit is contained in:
committed by
Atomic Bot
parent
dd546ad365
commit
189d22c0db
@@ -76,7 +76,7 @@ print_info (OstreeRepo *repo,
|
||||
const char *deploy_collection_id;
|
||||
g_autoptr(GVariant) gpg_keys = NULL;
|
||||
OstreeRepoMode mode;
|
||||
const char *mode_string;
|
||||
const char *mode_string = "unknown";
|
||||
|
||||
mode = ostree_repo_get_mode (repo);
|
||||
ostree_repo_mode_to_string (mode, &mode_string, NULL);
|
||||
|
||||
Reference in New Issue
Block a user