diff options
| author | Paul Eggert | 2014-01-23 09:27:37 -0800 |
|---|---|---|
| committer | Paul Eggert | 2014-01-23 09:27:37 -0800 |
| commit | ed44be700c5acf5ca2ffcf059c1e3a1640e33a5f (patch) | |
| tree | 0f54775e6af0748f4d3769a5dde2354bff491e65 /src/image.c | |
| parent | d4f0427be7fc035f0c3c0d63bb4707277fdc347e (diff) | |
| download | emacs-ed44be700c5acf5ca2ffcf059c1e3a1640e33a5f.tar.gz emacs-ed44be700c5acf5ca2ffcf059c1e3a1640e33a5f.zip | |
Minor cleanup of previous change.
* image.c (imagemagick_error, Fimagemagick_types):
Omit some recently-introduced and unnecessary casts and assignments.
Diffstat (limited to 'src/image.c')
| -rw-r--r-- | src/image.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/image.c b/src/image.c index e4f4c7ec21f..706745fb479 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -7908,7 +7908,7 @@ imagemagick_error (MagickWand *wand) | |||
| 7908 | image_error ("ImageMagick error: %s", | 7908 | image_error ("ImageMagick error: %s", |
| 7909 | build_string (description), | 7909 | build_string (description), |
| 7910 | Qnil); | 7910 | Qnil); |
| 7911 | description = (char *) MagickRelinquishMemory (description); | 7911 | MagickRelinquishMemory (description); |
| 7912 | } | 7912 | } |
| 7913 | 7913 | ||
| 7914 | /* Possibly give ImageMagick some extra help to determine the image | 7914 | /* Possibly give ImageMagick some extra help to determine the image |
| @@ -8546,10 +8546,10 @@ and `imagemagick-types-inhibit'. */) | |||
| 8546 | { | 8546 | { |
| 8547 | Qimagemagicktype = intern (imtypes[i]); | 8547 | Qimagemagicktype = intern (imtypes[i]); |
| 8548 | typelist = Fcons (Qimagemagicktype, typelist); | 8548 | typelist = Fcons (Qimagemagicktype, typelist); |
| 8549 | imtypes[i] = (char *) MagickRelinquishMemory (imtypes[i]); | 8549 | imtypes[i] = MagickRelinquishMemory (imtypes[i]); |
| 8550 | } | 8550 | } |
| 8551 | 8551 | ||
| 8552 | imtypes = (char **) MagickRelinquishMemory (imtypes); | 8552 | MagickRelinquishMemory (imtypes); |
| 8553 | return Fnreverse (typelist); | 8553 | return Fnreverse (typelist); |
| 8554 | } | 8554 | } |
| 8555 | 8555 | ||