Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
946f9a5b
Commit
946f9a5b
authored
Mar 15, 2011
by
Paul Eggert
Browse files
* data.c (Findirect_variable): Name an expression, to avoid
gcc -Wbad-function-cast warning.
parent
d40d4be1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
src/ChangeLog
src/ChangeLog
+3
-0
src/data.c
src/data.c
+4
-1
No files found.
src/ChangeLog
View file @
946f9a5b
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.
src/data.c
View file @
946f9a5b
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment