Changeset: 55811bb0e07e for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/55811bb0e07e
Modified Files:
        gdk/gdk_logger.c
Branch: Jul2021
Log Message:

remove redundant check


diffs (12 lines):

diff --git a/gdk/gdk_logger.c b/gdk/gdk_logger.c
--- a/gdk/gdk_logger.c
+++ b/gdk/gdk_logger.c
@@ -752,7 +752,7 @@ la_bat_destroy(logger *lg, logaction *la
                GDKerror("la_bat_destroy failed to find bid for object %d\n", 
la->cid);
                return GDK_FAIL;
        }
-       if (bid && logger_del_bat(lg, bid) != GDK_SUCCEED)
+       if (logger_del_bat(lg, bid) != GDK_SUCCEED)
                return GDK_FAIL;
        return GDK_SUCCEED;
 }
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to