- if (!is_file ((char*)cache_file))
- message (_f ("Rebuilding FontConfig cache %s. this may take a while...", cache_file));
+ if (cache_file
+ && !is_file ((char const *)cache_file))
+ message (_f ("Rebuilding FontConfig cache %s, this may take a while...", cache_file));