[brasero/wip/davidk/compiler-warnings: 2/5] Fix misleading indentation warnings
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [brasero/wip/davidk/compiler-warnings: 2/5] Fix misleading indentation warnings
- Date: Tue, 19 Oct 2021 15:03:28 +0000 (UTC)
commit 1319e0411b0a2108dfd47d9dab576e88a3ca15a4
Author: David King <amigadave amigadave com>
Date: Tue Oct 19 15:24:27 2021 +0100
Fix misleading indentation warnings
https://gitlab.gnome.org/GNOME/brasero/-/issues/332
libbrasero-utils/brasero-pk.c | 4 +++-
src/brasero-video-tree-model.c | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libbrasero-utils/brasero-pk.c b/libbrasero-utils/brasero-pk.c
index aa71901f..cf9af7b9 100644
--- a/libbrasero-utils/brasero-pk.c
+++ b/libbrasero-utils/brasero-pk.c
@@ -83,9 +83,11 @@ brasero_pk_install_missing_files_result (GObject *source_object,
g_error_free (error);
}
- if (priv->values != NULL)
+ if (priv->values != NULL) {
g_variant_unref (priv->values);
priv->res = TRUE;
+ }
+
g_object_unref (priv->proxy);
if (priv->loop)
diff --git a/src/brasero-video-tree-model.c b/src/brasero-video-tree-model.c
index bef333eb..6d8010ef 100644
--- a/src/brasero-video-tree-model.c
+++ b/src/brasero-video-tree-model.c
@@ -487,7 +487,7 @@ brasero_video_tree_model_path_to_track (BraseroVideoTreeModel *self,
if (index <= 0)
return BRASERO_TRACK (track);
- index --;
+ index --;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]