]> git.eshelyaron.com Git - emacs.git/commitdiff
Clarify compiler-pacifier in frame.c
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 23 Aug 2019 18:17:38 +0000 (11:17 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 23 Aug 2019 18:17:55 +0000 (11:17 -0700)
* src/frame.c (Fx_parse_geometry): Pacify the compiler in a
different way, so that the human reader can more easily see
that the initializations are unnecessary.

src/frame.c

index 8ee8e4203fc0fa9fffc35f9eefcd826ac3cc2287..330f98aee1578e0f4eb48fef57a30609fa226145 100644 (file)
@@ -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 = 0, y = 0;
+  int geometry, x UNINIT, y UNINIT;
   unsigned int width, height;
   Lisp_Object result;