Change one AssertMacro to Assert

What surrounds it is no longer a macro (e27f4ee0a7).
pull/81/head
Peter Eisentraut 4 years ago
parent c2bb02bc2e
commit b604a1c204
  1. 2
      src/include/access/htup_details.h

@ -749,7 +749,7 @@ extern MinimalTuple minimal_expand_tuple(HeapTuple sourceTuple, TupleDesc tupleD
static inline Datum
fastgetattr(HeapTuple tup, int attnum, TupleDesc tupleDesc, bool *isnull)
{
AssertMacro(attnum > 0);
Assert(attnum > 0);
*isnull = false;
if (HeapTupleNoNulls(tup))

Loading…
Cancel
Save