summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/access/hash.h2
-rw-r--r--src/include/access/nbtree.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/access/hash.h b/src/include/access/hash.h
index 02ef67c974b..f77395115dc 100644
--- a/src/include/access/hash.h
+++ b/src/include/access/hash.h
@@ -158,7 +158,7 @@ typedef struct HashScanPosData
(scanpos).firstItem = 0; \
(scanpos).lastItem = 0; \
(scanpos).itemIndex = 0; \
- } while (0);
+ } while (0)
/*
* HashScanOpaqueData is private state for a hash index scan.
diff --git a/src/include/access/nbtree.h b/src/include/access/nbtree.h
index 516f697b4c7..e6b24408afb 100644
--- a/src/include/access/nbtree.h
+++ b/src/include/access/nbtree.h
@@ -421,7 +421,7 @@ typedef BTScanPosData *BTScanPos;
(scanpos).buf = InvalidBuffer; \
(scanpos).lsn = InvalidXLogRecPtr; \
(scanpos).nextTupleOffset = 0; \
- } while (0);
+ } while (0)
/* We need one of these for each equality-type SK_SEARCHARRAY scan key */
typedef struct BTArrayKeyInfo