Skip to content

Commit 2fe560d

Browse files
committed
Fixed extra-semi warnings [skip ci]
1 parent b46bead commit 2fe560d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/hnsw.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ typedef struct HnswNeighborArray HnswNeighborArray;
126126

127127
#define HnswPtrDeclare(type, relptrtype, ptrtype) \
128128
relptr_declare(type, relptrtype); \
129-
typedef union { type *ptr; relptrtype relptr; } ptrtype;
129+
typedef union { type *ptr; relptrtype relptr; } ptrtype
130130

131131
/* Pointers that can be absolute or relative */
132132
/* Use char for DatumPtr so works with Pointer */

src/hnswutils.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,7 @@ hnsw_halfvec_support(PG_FUNCTION_ARGS)
13931393
};
13941394

13951395
PG_RETURN_POINTER(&typeInfo);
1396-
};
1396+
}
13971397

13981398
FUNCTION_PREFIX PG_FUNCTION_INFO_V1(hnsw_bit_support);
13991399
Datum
@@ -1406,7 +1406,7 @@ hnsw_bit_support(PG_FUNCTION_ARGS)
14061406
};
14071407

14081408
PG_RETURN_POINTER(&typeInfo);
1409-
};
1409+
}
14101410

14111411
FUNCTION_PREFIX PG_FUNCTION_INFO_V1(hnsw_sparsevec_support);
14121412
Datum
@@ -1419,4 +1419,4 @@ hnsw_sparsevec_support(PG_FUNCTION_ARGS)
14191419
};
14201420

14211421
PG_RETURN_POINTER(&typeInfo);
1422-
};
1422+
}

src/ivfutils.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ ivfflat_halfvec_support(PG_FUNCTION_ARGS)
355355
};
356356

357357
PG_RETURN_POINTER(&typeInfo);
358-
};
358+
}
359359

360360
FUNCTION_PREFIX PG_FUNCTION_INFO_V1(ivfflat_bit_support);
361361
Datum
@@ -370,4 +370,4 @@ ivfflat_bit_support(PG_FUNCTION_ARGS)
370370
};
371371

372372
PG_RETURN_POINTER(&typeInfo);
373-
};
373+
}

0 commit comments

Comments
 (0)