Commit 95a872085e5a79cf710acf6389dbd55b6e728aac

Alexei Podtelezhnikov 2023-08-01T22:48:31

* src/base/ftobjs.c (open_face_from_buffer): Silence `maybe-uninitialized`. We never call this function without a `driver_name` (#1245).

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c
index abfa3ab..89a25bc 100644
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -1747,7 +1747,8 @@
     FT_Memory     memory = library->memory;
 
 
-    args.flags = 0;
+    args.driver = NULL;
+    args.flags  = 0;
 
     if ( driver_name )
     {