summaryrefslogtreecommitdiff
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index b9299a060c2..d343774e8fd 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -982,8 +982,9 @@ make_event_array (nargs, args)
/* Since the loop exited, we know that all the things in it are
characters, so we can make a string. */
{
- Lisp_Object result = Fmake_string (nargs, make_number (0));
+ Lisp_Object result;
+ result = Fmake_string (nargs, make_number (0));
for (i = 0; i < nargs; i++)
{
XSTRING (result)->data[i] = XINT (args[i]);