[libgda] holder: fix assertion on private



commit 06f499240ef49712065b2b89db8d4ded5b40f0fd
Author: Daniel Espinosa <esodan gmail com>
Date:   Thu Sep 6 19:01:18 2018 -0500

    holder: fix assertion on private

 libgda/gda-holder.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/libgda/gda-holder.c b/libgda/gda-holder.c
index 8f99721c8..d892643ef 100644
--- a/libgda/gda-holder.c
+++ b/libgda/gda-holder.c
@@ -1793,7 +1793,6 @@ gda_holder_set_bind (GdaHolder *holder, GdaHolder *bind_to, GError **error)
        /* get a copy of the current values of @holder and @bind_to */
        if (bind_to) {
                g_return_val_if_fail (GDA_IS_HOLDER (bind_to), FALSE);
-               g_return_val_if_fail (bpriv, FALSE);
 
                bpriv = gda_holder_get_instance_private (bind_to);
 


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