diff options
| author | Paul Eggert | 2019-06-29 16:46:16 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-06-29 16:49:19 -0700 |
| commit | f5b2fd5e46505d68850fb8532357d4218f067c48 (patch) | |
| tree | 42ed471fc063a552e84a49a42d31e192b1d4fa21 /src/coding.c | |
| parent | 0b2841f9fb0ffd8514b0fb99c5673adad6b07abb (diff) | |
| download | emacs-f5b2fd5e46505d68850fb8532357d4218f067c48.tar.gz emacs-f5b2fd5e46505d68850fb8532357d4218f067c48.zip | |
Pacify gcc and other image rotation tweaks
* src/image.c: No need to include <float.h> as lisp.h does that.
(matrix3x3_copy): Remove; no longer needed.
(divide_double): New function, to avoid undefined behavior
when dividing by zero on non-IEEE hosts.
(image_set_transform): Simplify transformation computation
by avoiding the need to copy a matrix. Pacify
gcc 9 -Wdouble-promotion and -Wmaybe-uninitialized.
Avoid unnecessary assignment of width and height.
Improve error reporting for unsupported native image rotation.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions