1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-28 18:48:04 +03:00

Use C99 designator in the rbtree sentinel definition

This change should improve the code readability.

Discussion: https://postgr.es/m/CAGRrpzYE8-7GCoaPjOiL9T_HY605MRax-2jgTtLq236uksZ1Sw%40mail.gmail.com
Author: Steve Chavez, Alexander Korotkov
Reviewed-by: Alexander Korotkov
This commit is contained in:
Alexander Korotkov
2022-07-08 21:51:00 +03:00
parent d498e052b4
commit 8d51d7f403

View File

@@ -62,7 +62,7 @@ struct RBTree
static RBTNode sentinel = static RBTNode sentinel =
{ {
RBTBLACK, RBTNIL, RBTNIL, NULL .color = RBTBLACK,.left = RBTNIL,.right = RBTNIL,.parent = NULL
}; };