diff options
author | Werner Lemberg <wl@gnu.org> | 2021-11-16 22:07:28 +0100 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2021-11-16 22:08:47 +0100 |
commit | 238245cd66e10025316463998a1fa20c15a065a8 (patch) | |
tree | f373c2ee00b81b35c952a0cd53f1926ba9f761da /src/cache | |
parent | e4f7673e46450298db1ce5fda8a3d310cfb50d78 (diff) | |
download | freetype2-238245cd66e10025316463998a1fa20c15a065a8.tar.gz |
Fix clang++ warnings.
* src/*: Initialize some variables to NULL.
Diffstat (limited to 'src/cache')
-rw-r--r-- | src/cache/ftcmanag.c | 2 | ||||
-rw-r--r-- | src/cache/ftcmru.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cache/ftcmanag.c b/src/cache/ftcmanag.c index b4aee40db..512de8a3f 100644 --- a/src/cache/ftcmanag.c +++ b/src/cache/ftcmanag.c @@ -357,7 +357,7 @@ { FT_Error error; FT_Memory memory; - FTC_Manager manager; + FTC_Manager manager = NULL; if ( !library ) diff --git a/src/cache/ftcmru.c b/src/cache/ftcmru.c index 40bbfe181..2cac6f9d3 100644 --- a/src/cache/ftcmru.c +++ b/src/cache/ftcmru.c @@ -237,7 +237,7 @@ FTC_MruNode *anode ) { FT_Error error; - FTC_MruNode node; + FTC_MruNode node = NULL; FT_Memory memory = list->memory; |