summaryrefslogtreecommitdiff
path: root/src/data.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2017-09-16 10:31:32 +0300
committerEli Zaretskii <eliz@gnu.org>2017-09-16 10:31:32 +0300
commitcb27a13413d859788d995b45b6d0414b1ba9a060 (patch)
treeefd1c32b03b5101e0ff91266cc09919a55ac8ac1 /src/data.c
parentf5f261c6901e51b28deaa05dab157a38adf08912 (diff)
downloademacs-cb27a13413d859788d995b45b6d0414b1ba9a060.tar.gz
Avoid GCC 7 compilation warning in data.c
* src/data.c (minmax_driver): Use UNINIT to avoid compilation warnings. Reported by Fabrice Popineau <fabrice.popineau@centralesupelec.fr>.
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data.c b/src/data.c
index feca0a6f376..9ccfa6475ad 100644
--- a/src/data.c
+++ b/src/data.c
@@ -3011,7 +3011,7 @@ minmax_driver (ptrdiff_t nargs, Lisp_Object *args,
enum Arith_Comparison comparison)
{
eassume (0 < nargs);
- Lisp_Object accum;
+ Lisp_Object accum UNINIT;
for (ptrdiff_t argnum = 0; argnum < nargs; argnum++)
{
Lisp_Object val = args[argnum];