Commit a81cf5aade126184e52ac6a2a9fd36b718b9038c

Alexei Podtelezhnikov 2021-09-02T22:10:57

Cosmetic zeros.

diff --git a/src/autofit/afglobal.c b/src/autofit/afglobal.c
index 577b94e..b805b3b 100644
--- a/src/autofit/afglobal.c
+++ b/src/autofit/afglobal.c
@@ -477,7 +477,7 @@
             /* IMPORTANT: Clear the error code, see
              * https://gitlab.freedesktop.org/freetype/freetype/-/issues/1063
              */
-            error = 0;
+            error = FT_Err_Ok;
             goto Again;
           }
 
diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c
index b8af228..5e81d77 100644
--- a/src/autofit/aflatin.c
+++ b/src/autofit/aflatin.c
@@ -2109,7 +2109,7 @@
       {
         if ( seg2->link != seg1 )
         {
-          seg1->link  = 0;
+          seg1->link  = NULL;
           seg1->serif = seg2->link;
         }
       }
diff --git a/src/bdf/bdflib.c b/src/bdf/bdflib.c
index 8db9940..e5002bc 100644
--- a/src/bdf/bdflib.c
+++ b/src/bdf/bdflib.c
@@ -1924,7 +1924,7 @@
       p->font = font;
 
       font->memory = p->memory;
-      p->memory    = 0;
+      p->memory    = NULL;
 
       { /* setup */
         size_t           i;