aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2019-08-23 15:52:33 +0300
committerEli Zaretskii2019-08-23 15:52:33 +0300
commitc4dd5a73ce3ee80a4e152a48f120495cfa89de52 (patch)
tree2337c5b50dc647e445efe730f99e25c322e8d1d3
parentdf20cbe0757d3071f9571531872951ddba9fca51 (diff)
downloademacs-c4dd5a73ce3ee80a4e152a48f120495cfa89de52.tar.gz
emacs-c4dd5a73ce3ee80a4e152a48f120495cfa89de52.zip
Avoid compilation warning in frame.c
* src/frame.c (Fx_parse_geometry): Avoid compilation warning about x and y being used without initializing them.
-rw-r--r--src/frame.c2
1 files changed, 1 insertions, 1 deletions
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.
5327On Nextstep, this just calls `ns-parse-geometry'. */) 5327On Nextstep, this just calls `ns-parse-geometry'. */)
5328 (Lisp_Object string) 5328 (Lisp_Object string)
5329{ 5329{
5330 int geometry, x, y; 5330 int geometry, x = 0, y = 0;
5331 unsigned int width, height; 5331 unsigned int width, height;
5332 Lisp_Object result; 5332 Lisp_Object result;
5333 5333