From c56758858701a37059d7fd48191f8aee254fe4b3 Mon Sep 17 00:00:00 2001 From: Mike Gelfand Date: Sun, 17 Mar 2019 09:18:27 +0300 Subject: [PATCH] Remove useless parentheses --- gtk/util.c | 2 +- utils/remote.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/util.c b/gtk/util.c index 13c55ec07..c1cb66305 100644 --- a/gtk/util.c +++ b/gtk/util.c @@ -445,7 +445,7 @@ void gtr_combo_box_set_active_enum(GtkComboBox* combo_box, int value) /* find the one to select */ i = 0; - while ((gtk_tree_model_iter_nth_child(model, &iter, NULL, i))) + while (gtk_tree_model_iter_nth_child(model, &iter, NULL, i)) { gtk_tree_model_get(model, &iter, column, ¤tValue, -1); diff --git a/utils/remote.c b/utils/remote.c index c5d13badf..26fb5e1c6 100644 --- a/utils/remote.c +++ b/utils/remote.c @@ -1423,7 +1423,7 @@ static void printPortTest(tr_variant* top) { tr_variant* args; - if ((tr_variantDictFindDict(top, TR_KEY_arguments, &args))) + if (tr_variantDictFindDict(top, TR_KEY_arguments, &args)) { bool boolVal;