emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 6cd5678: Clarify compiler-pacifier in frame.c


From: Paul Eggert
Subject: [Emacs-diffs] master 6cd5678: Clarify compiler-pacifier in frame.c
Date: Fri, 23 Aug 2019 14:18:00 -0400 (EDT)

branch: master
commit 6cd567878443dd5fb9c3910de3a8e67acb5962b4
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Clarify compiler-pacifier in frame.c
    
    * 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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/frame.c b/src/frame.c
index 8ee8e42..330f98a 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 = 0, y = 0;
+  int geometry, x UNINIT, y UNINIT;
   unsigned int width, height;
   Lisp_Object result;
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]