Changeset: 0864a9f3c145 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/0864a9f3c145
Modified Files:
        geom/monetdb5/geomBulk.c
Branch: Jun2023
Log Message:

fix compilation (unused variable remainingElements)


diffs (35 lines):

diff --git a/geom/monetdb5/geomBulk.c b/geom/monetdb5/geomBulk.c
--- a/geom/monetdb5/geomBulk.c
+++ b/geom/monetdb5/geomBulk.c
@@ -1259,7 +1259,6 @@ wkbFilter_bat(bat *aBATfiltered_id, bat 
        bit outBIT;
        BATiter aBAT_iter, bBAT_iter;
        BUN i = 0;
-       int remainingElements = 0;
 
        //get the descriptor of the BAT
        if ((aBAT = BATdescriptor(*aBAT_id)) == NULL) {
@@ -1318,7 +1317,6 @@ wkbFilter_bat(bat *aBATfiltered_id, bat 
                                BBPunfix(bBATfiltered->batCacheid);
                                throw(MAL, "batgeom.MBRfilter", SQLSTATE(HY013) 
MAL_MALLOC_FAIL);
                        }
-                       remainingElements++;
                }
        }
        bat_iterator_end(&aBAT_iter);
@@ -1348,7 +1346,6 @@ wkbFilter_geom_bat(bat *BATfiltered_id, 
        BATiter BAToriginal_iter;
        BUN i = 0;
        mbr *geomMBR;
-       int remainingElements = 0;
        str err = NULL;
 
        //get the descriptor of the BAT
@@ -1406,7 +1403,6 @@ wkbFilter_geom_bat(bat *BATfiltered_id, 
                                GDKfree(MBRoriginal);
                                throw(MAL, "batgeom.MBRfilter", SQLSTATE(HY013) 
MAL_MALLOC_FAIL);
                        }
-                       remainingElements++;
                }
 
                GDKfree(MBRoriginal);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to