Commit 946f9a5b authored by Paul Eggert's avatar Paul Eggert
Browse files

* data.c (Findirect_variable): Name an expression, to avoid

gcc -Wbad-function-cast warning.
parent d40d4be1
2011-03-15 Paul Eggert <eggert@cs.ucla.edu>
 
* data.c (Findirect_variable): Name an expression, to avoid
gcc -Wbad-function-cast warning.
* alloc.c (check_cons_list): Do not define unless GC_CHECK_CONS_LIST.
(Fmake_vector, Fvector, Fmake_byte_code, Fgarbage_collect):
Rename locals to avoid shadowing.
......@@ -805,7 +805,10 @@ variable chain of symbols. */)
(Lisp_Object object)
{
if (SYMBOLP (object))
XSETSYMBOL (object, indirect_variable (XSYMBOL (object)));
{
struct Lisp_Symbol *sym = indirect_variable (XSYMBOL (object));
XSETSYMBOL (object, sym);
}
return object;
}
......
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