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:
@@ -62,7 +62,7 @@ struct RBTree
|
||||
|
||||
static RBTNode sentinel =
|
||||
{
|
||||
RBTBLACK, RBTNIL, RBTNIL, NULL
|
||||
.color = RBTBLACK,.left = RBTNIL,.right = RBTNIL,.parent = NULL
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user