diff --git a/mozilla/lib/layout/layblock.c b/mozilla/lib/layout/layblock.c index 6c6104451d3..d67ec3cdbf6 100644 --- a/mozilla/lib/layout/layblock.c +++ b/mozilla/lib/layout/layblock.c @@ -1855,10 +1855,10 @@ lo_RestoreLayerExitFn(void *myclosure, lo_RestoreLayerClosure *closure = (lo_RestoreLayerClosure *)myclosure; MWContext *context = closure->context; lo_DocState *state = closure->state; - lo_TopState *top_state; + lo_TopState *top_state = NULL; int32 doc_id = closure->doc_id; PRBool flushp = (PRBool)(param->src == NULL); - LO_Element *blocking_element; + LO_Element *blocking_element=NULL; if (doc_id == XP_DOCID(context)) { top_state = state->top_state; diff --git a/mozilla/lib/layout/layform.c b/mozilla/lib/layout/layform.c index b7f3e76fefb..534591f47d2 100644 --- a/mozilla/lib/layout/layform.c +++ b/mozilla/lib/layout/layform.c @@ -104,7 +104,7 @@ lo_return_next_form_element(MWContext *context, lo_FormData *form_list; lo_FormData *prev_form_list=NULL; LO_Element **ele_list; - LO_FormElementStruct *form_ele; + LO_FormElementStruct *form_ele=NULL; /* * Get the unique document ID, and retreive this