Commit 153a17b7 authored by Karl Heuer's avatar Karl Heuer
Browse files

(read_filtered_event, intern): Use assignment instead of initialization.

parent e9b6dfb0
......@@ -213,8 +213,9 @@ read_filtered_event (no_switch_frame, ascii_required, error_nonascii)
#ifdef standalone
return make_number (getchar ());
#else
register Lisp_Object val;
register Lisp_Object delayed_switch_frame = Qnil;
register Lisp_Object val, delayed_switch_frame;
delayed_switch_frame = Qnil;
/* Read until we get an acceptable event. */
retry:
......@@ -1520,8 +1521,9 @@ intern (str)
{
Lisp_Object tem;
int len = strlen (str);
Lisp_Object obarray = Vobarray;
Lisp_Object obarray;
obarray = Vobarray;
if (XTYPE (obarray) != Lisp_Vector || XVECTOR (obarray)->size == 0)
obarray = check_obarray (obarray);
tem = oblookup (obarray, str, len);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment