]> granicus.if.org Git - graphviz/commitdiff
common: use a simpler C99 zero init for null terminating 'Arrowsynonyms'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 8 Oct 2022 22:26:35 +0000 (15:26 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 12 Oct 2022 14:51:43 +0000 (07:51 -0700)
lib/common/arrows.c

index 95face39c93db8e861e4dfea0d8c3a8c5aea3026..21f8c2d9d6c62242facddf637c8030a9b252c1c9 100644 (file)
@@ -67,7 +67,7 @@ static const arrowname_t Arrowsynonyms[] = {
     /* synonyms for deprecated arrow names - included for backward compatibility */
     /*  evaluated before primary names else "invempty" would give different results */
     {"invempty", (ARR_TYPE_NORM | ARR_MOD_INV | ARR_MOD_OPEN)},        /* oinv     */
-    {(char *) 0, (ARR_TYPE_NONE)}
+    {0}
 };
 
 static arrowname_t Arrowmods[] = {