Changeset: b7b8388ee09d for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=b7b8388ee09d
Modified Files:
        monetdb5/modules/kernel/algebra.c
Branch: embedded
Log Message:

Compiler fix


diffs (21 lines):

diff --git a/monetdb5/modules/kernel/algebra.c 
b/monetdb5/modules/kernel/algebra.c
--- a/monetdb5/modules/kernel/algebra.c
+++ b/monetdb5/modules/kernel/algebra.c
@@ -1214,7 +1214,7 @@ ALGslice_wrd(bat *ret, const bat *bid, c
 str
 ALGslice_oid(bat *ret, const bat *bid, const oid *start, const oid *end)
 {
-       BAT *b, *bn;
+       BAT *b, *bn = NULL;
        lng s = (lng) (*start == oid_nil ? 0 : (lng) *start);
        lng e = (*end == oid_nil ? lng_nil : (lng) *end);
 
@@ -1227,7 +1227,7 @@ ALGslice_oid(bat *ret, const bat *bid, c
                throw(MAL, "algebra.slice", RUNTIME_OBJECT_MISSING);
 
        slice(&bn, b, s, e);
-       if( bn == 0){
+       if(bn == NULL){
                BBPunfix(b->batCacheid);
                throw(MAL, "algebra.slice", "Slicing failed");
        }
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to