aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
authorPaul Eggert <[email protected]>2011-03-15 16:20:25 -0700
committerPaul Eggert <[email protected]>2011-03-15 16:20:25 -0700
commitcdef261f74c8cf58a9b9c678e730a59b009ddad9 (patch)
tree3d66845cb2fe568aca6160b9de1790bd32362c3a /src/data.c
parent8ef4622dd009b1d720155c7f2063f164f31a511e (diff)
* data.c (Fmake_variable_buffer_local, Fmake_local_variable): Mark
variables as initialized.
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/data.c b/src/data.c
index 50a6ac219c..6599d8fdfa 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;