Mercurial > emacs
comparison src/xselect.c @ 103624:3e06f0e66062
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.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Mon, 29 Jun 2009 05:28:54 +0000 |
parents | e038c1a8307c |
children | 68dd71358159 |
comparison
equal
deleted
inserted
replaced
103623:e5da8db417c0 | 103624:3e06f0e66062 |
---|---|
2393 x_get_window_property (display, window, buffer_atom, &data, &bytes, | 2393 x_get_window_property (display, window, buffer_atom, &data, &bytes, |
2394 &type, &format, &size, 0); | 2394 &type, &format, &size, 0); |
2395 | 2395 |
2396 if (!data || !format) | 2396 if (!data || !format) |
2397 { | 2397 { |
2398 if (data) | 2398 xfree (data); |
2399 xfree (data); | |
2400 return Qnil; | 2399 return Qnil; |
2401 } | 2400 } |
2402 | 2401 |
2403 if (format != 8 || type != XA_STRING) | 2402 if (format != 8 || type != XA_STRING) |
2404 signal_error ("Cut buffer doesn't contain 8-bit data", | 2403 signal_error ("Cut buffer doesn't contain 8-bit data", |