aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32font.c
diff options
context:
space:
mode:
authorJim Meyering <[email protected]>2009-06-29 05:28:54 +0000
committerJim Meyering <[email protected]>2009-06-29 05:28:54 +0000
commit5f4457269e98f327c9795c797ed71fd6810a49c0 (patch)
treed4c1122f06729dffdd9d9d8d42322188b1baf9e0 /src/w32font.c
parente0f591953b48b3894458dc1746304de140018b45 (diff)
Remove useless if-before-xfree tests.
* nsfont.m (nsfont_close): Remove useless test. * term.c (delete_tty): Likewise. * w32.c (system_process_attributes): Likewise. * w32font.c (w32font_close): Likewise. * xfaces.c (x_free_gc): Likewise. * xselect.c (buffer): Likewise.
Diffstat (limited to 'src/w32font.c')
-rw-r--r--src/w32font.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/w32font.c b/src/w32font.c
index 4148e87c37..995500aa0e 100644
--- a/src/w32font.c
+++ b/src/w32font.c
@@ -289,8 +289,7 @@ w32font_close (f, font)
{
for (i = 0; i < w32_font->n_cache_blocks; i++)
{
- if (w32_font->cached_metrics[i])
- xfree (w32_font->cached_metrics[i]);
+ xfree (w32_font->cached_metrics[i]);
}
xfree (w32_font->cached_metrics);
w32_font->cached_metrics = NULL;