summaryrefslogtreecommitdiff
path: root/console-client
diff options
context:
space:
mode:
Diffstat (limited to 'console-client')
-rw-r--r--console-client/xkb/compose.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/console-client/xkb/compose.c b/console-client/xkb/compose.c
index 78bce7ff..fb3f07ca 100644
--- a/console-client/xkb/compose.c
+++ b/console-client/xkb/compose.c
@@ -586,8 +586,7 @@ read_composefile (char *composefn)
return errno;
err = parse_composefile (cf);
- if (err)
- fclose (cf);
+ fclose (cf);
return err;
}