[brasero/wip/davidk/compiler-warnings: 4/6] Fix misleading indentation warnings




commit 358a4d7be0bb0efe5164ee1a90c3a359fe857634
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]