]> code.delx.au - gnu-emacs/blobdiff - src/lisp.h
Fix compiler warnings in Cygwin-w32 build
[gnu-emacs] / src / lisp.h
index e0eb52a84ea220103a4932414fe65ccbfd0b8d20..6a8f829546e1643a6fd220ac20f23cdef8d13555 100644 (file)
@@ -4634,8 +4634,10 @@ enum
    STR's value is not necessarily copied.  The resulting Lisp string
    should not be modified or made visible to user code.  */
 
+/* Avoid initializing NAME to prevent "jump-misses-init" compiler
+   warnings.  */
 #define AUTO_STRING_WITH_LEN(name, str, len)                           \
-  Lisp_Object name =                                                   \
+  Lisp_Object name; name =                                             \
     (USE_STACK_STRING                                                  \
      ? (make_lisp_ptr                                                  \
        ((&(union Aligned_String)                                       \