aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorKarl Heuer1994-03-23 22:25:25 +0000
committerKarl Heuer1994-03-23 22:25:25 +0000
commitc13ccad2a69a3691ee29597d1a8fe78160c36afb (patch)
treeb9f3336a6dcf3231b3402dd6c233aa55ceeed628 /src/alloc.c
parent7ed39e9d2b3c283515f0d33a621051d9f3b2338f (diff)
downloademacs-c13ccad2a69a3691ee29597d1a8fe78160c36afb.tar.gz
emacs-c13ccad2a69a3691ee29597d1a8fe78160c36afb.zip
(make_event_array): Use assignment, not initialization.
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)
982 /* Since the loop exited, we know that all the things in it are 982 /* Since the loop exited, we know that all the things in it are
983 characters, so we can make a string. */ 983 characters, so we can make a string. */
984 { 984 {
985 Lisp_Object result = Fmake_string (nargs, make_number (0)); 985 Lisp_Object result;
986 986
987 result = Fmake_string (nargs, make_number (0));
987 for (i = 0; i < nargs; i++) 988 for (i = 0; i < nargs; i++)
988 { 989 {
989 XSTRING (result)->data[i] = XINT (args[i]); 990 XSTRING (result)->data[i] = XINT (args[i]);