Changeset: 8c113e529c93 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/8c113e529c93
Modified Files:
gdk/gdk_batop.c
Branch: Sep2022
Log Message:
No declarations right after label.
diffs (37 lines):
diff --git a/gdk/gdk_batop.c b/gdk/gdk_batop.c
--- a/gdk/gdk_batop.c
+++ b/gdk/gdk_batop.c
@@ -1955,6 +1955,7 @@ bool
BATordered(BAT *b)
{
lng t0 = GDKusec();
+ bool sorted;
MT_lock_set(&b->theaplock);
if (b->ttype == TYPE_void || b->tsorted || BATcount(b) == 0) {
@@ -2073,7 +2074,7 @@ BATordered(BAT *b)
}
}
doreturn:
- bool sorted = b->tsorted;
+ sorted = b->tsorted;
MT_lock_unset(&b->theaplock);
return sorted;
}
@@ -2111,6 +2112,7 @@ bool
BATordered_rev(BAT *b)
{
lng t0 = GDKusec();
+ bool revsorted;
if (b == NULL || !ATOMlinear(b->ttype))
return false;
@@ -2169,7 +2171,7 @@ BATordered_rev(BAT *b)
TRC_DEBUG(ALGO, "Fixed revsorted for " ALGOBATFMT " (" LLFMT "
usec)\n", ALGOBATPAR(b), GDKusec() - t0);
}
doreturn:
- bool revsorted = b->trevsorted;
+ revsorted = b->trevsorted;
MT_lock_unset(&b->theaplock);
return revsorted;
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]