aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/frame.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/frame.c b/src/frame.c
index 330f98aee15..cf38c85f09f 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -5327,9 +5327,10 @@ 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 UNINIT, y UNINIT; 5330 /* x and y don't need initialization, as they are not accessed
5331 unless XParseGeometry sets them. */
5332 int x UNINIT, y UNINIT;
5331 unsigned int width, height; 5333 unsigned int width, height;
5332 Lisp_Object result;
5333 5334
5334 CHECK_STRING (string); 5335 CHECK_STRING (string);
5335 5336
@@ -5337,9 +5338,9 @@ On Nextstep, this just calls `ns-parse-geometry'. */)
5337 if (strchr (SSDATA (string), ' ') != NULL) 5338 if (strchr (SSDATA (string), ' ') != NULL)
5338 return call1 (Qns_parse_geometry, string); 5339 return call1 (Qns_parse_geometry, string);
5339#endif 5340#endif
5340 geometry = XParseGeometry (SSDATA (string), 5341 int geometry = XParseGeometry (SSDATA (string),
5341 &x, &y, &width, &height); 5342 &x, &y, &width, &height);
5342 result = Qnil; 5343 Lisp_Object result = Qnil;
5343 if (geometry & XValue) 5344 if (geometry & XValue)
5344 { 5345 {
5345 Lisp_Object element; 5346 Lisp_Object element;