From c4dd5a73ce3ee80a4e152a48f120495cfa89de52 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 23 Aug 2019 15:52:33 +0300 Subject: [PATCH] Avoid compilation warning in frame.c * src/frame.c (Fx_parse_geometry): Avoid compilation warning about x and y being used without initializing them. --- src/frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frame.c b/src/frame.c index a0da55c0e9d..8ee8e4203fc 100644 --- a/src/frame.c +++ b/src/frame.c @@ -5327,7 +5327,7 @@ or a list (- N) meaning -N pixels relative to bottom/right corner. On Nextstep, this just calls `ns-parse-geometry'. */) (Lisp_Object string) { - int geometry, x, y; + int geometry, x = 0, y = 0; unsigned int width, height; Lisp_Object result; -- 2.39.2