summaryrefslogtreecommitdiff
path: root/pango/modules.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/modules.c')
-rw-r--r--pango/modules.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/pango/modules.c b/pango/modules.c
index c261df8a..32ae2533 100644
--- a/pango/modules.c
+++ b/pango/modules.c
@@ -366,9 +366,7 @@ read_modules (void)
while (n-- > 0)
{
module_file = fopen (files[n], "r");
- if (!module_file)
- g_warning ("Error opening module file '%s': %s\n", files[n], g_strerror (errno));
- else
+ if (module_file)
{
process_module_file(module_file);
fclose(module_file);