summaryrefslogtreecommitdiff
path: root/src/w32.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2009-06-29 05:28:54 +0000
committerJim Meyering <jim@meyering.net>2009-06-29 05:28:54 +0000
commit5f4457269e98f327c9795c797ed71fd6810a49c0 (patch)
treed4c1122f06729dffdd9d9d8d42322188b1baf9e0 /src/w32.c
parente0f591953b48b3894458dc1746304de140018b45 (diff)
downloademacs-5f4457269e98f327c9795c797ed71fd6810a49c0.tar.gz
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/w32.c')
-rw-r--r--src/w32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/w32.c b/src/w32.c
index cd95f60e84f..23da0bad937 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -3995,8 +3995,7 @@ system_process_attributes (pid)
}
}
}
- if (buf)
- xfree (buf);
+ xfree (buf);
}
if (!result)
{