From: Eli Zaretskii Date: Fri, 23 Aug 2019 12:52:33 +0000 (+0300) Subject: Avoid compilation warning in frame.c X-Git-Tag: emacs-27.0.90~1328^2~96 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c4dd5a73ce3ee80a4e152a48f120495cfa89de52;p=emacs.git Avoid compilation warning in frame.c * src/frame.c (Fx_parse_geometry): Avoid compilation warning about x and y being used without initializing them. --- 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;