diff options
author | Phaedrus Leeds <mwleeds@protonmail.com> | 2021-05-02 21:22:15 -0500 |
---|---|---|
committer | Alexander Larsson <alexander.larsson@gmail.com> | 2021-05-04 10:23:13 +0200 |
commit | 66d00e1c47b974d361cc777d7dc1d848ece42705 (patch) | |
tree | e5896d115c67ee00a877fdd2a04222b24f2daf33 /app/flatpak-builtins-list.c | |
parent | a0188dee79ef5de5ec4e7ff4970d0c07f0d711c3 (diff) | |
download | flatpak-66d00e1c47b974d361cc777d7dc1d848ece42705.tar.gz |
list: Add a g_assert() for a coverity warning
Diffstat (limited to 'app/flatpak-builtins-list.c')
-rw-r--r-- | app/flatpak-builtins-list.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/flatpak-builtins-list.c b/app/flatpak-builtins-list.c index b23901d1..82049cbb 100644 --- a/app/flatpak-builtins-list.c +++ b/app/flatpak-builtins-list.c @@ -421,6 +421,7 @@ flatpak_builtin_list (int argc, char **argv, GCancellable *cancellable, GError * if (dirs->len > 1) { int c = find_column (all_columns, "installation", NULL); + g_assert (c != -1); all_columns[c].def = 1; } |