[evolution-data-server/gnome-43] I#427 - Tautology in e_named_parameters_equal()



commit d12fddd09b2f4c777e53dfd959588bda3f2526ae
Author: Milan Crha <mcrha redhat com>
Date:   Fri Oct 21 07:32:02 2022 +0200

    I#427 - Tautology in e_named_parameters_equal()
    
    Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/427

 src/libedataserver/e-named-parameters.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libedataserver/e-named-parameters.c b/src/libedataserver/e-named-parameters.c
index 45ffbf6ce..abed84419 100644
--- a/src/libedataserver/e-named-parameters.c
+++ b/src/libedataserver/e-named-parameters.c
@@ -528,7 +528,7 @@ e_named_parameters_equal (const ENamedParameters *parameters1,
                return TRUE;
 
        if (!parameters1 || !parameters2 ||
-           e_named_parameters_count (parameters1) != e_named_parameters_count (parameters1))
+           e_named_parameters_count (parameters1) != e_named_parameters_count (parameters2))
                return FALSE;
 
        arr1 = (GPtrArray *) parameters1;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]