diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-15 16:20:25 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-15 16:20:25 -0700 |
commit | cdef261f74c8cf58a9b9c678e730a59b009ddad9 (patch) | |
tree | 3d66845cb2fe568aca6160b9de1790bd32362c3a /src/data.c | |
parent | 8ef4622dd009b1d720155c7f2063f164f31a511e (diff) | |
download | emacs-cdef261f74c8cf58a9b9c678e730a59b009ddad9.tar.gz emacs-cdef261f74c8cf58a9b9c678e730a59b009ddad9.tar.bz2 emacs-cdef261f74c8cf58a9b9c678e730a59b009ddad9.zip |
* data.c (Fmake_variable_buffer_local, Fmake_local_variable): Mark
variables as initialized.
Diffstat (limited to 'src/data.c')
-rw-r--r-- | src/data.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/data.c b/src/data.c index 50a6ac219c4..6599d8fdfa3 100644 --- a/src/data.c +++ b/src/data.c @@ -1506,8 +1506,8 @@ The function `default-value' gets the default value and `set-default' sets it. { struct Lisp_Symbol *sym; struct Lisp_Buffer_Local_Value *blv = NULL; - union Lisp_Val_Fwd valcontents; - int forwarded; + union Lisp_Val_Fwd valcontents IF_LINT (= {0}); + int forwarded IF_LINT (= 0); CHECK_SYMBOL (variable); sym = XSYMBOL (variable); @@ -1582,8 +1582,8 @@ Instead, use `add-hook' and specify t for the LOCAL argument. */) (register Lisp_Object variable) { register Lisp_Object tem; - int forwarded; - union Lisp_Val_Fwd valcontents; + int forwarded IF_LINT (= 0); + union Lisp_Val_Fwd valcontents IF_LINT (= {0}); struct Lisp_Symbol *sym; struct Lisp_Buffer_Local_Value *blv = NULL; |