X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fcontrol%2Frepeat.c;h=b5efdc99f6c797c1eb02ceee15395abed643955c;hb=7a2039fb1ebfd48013ab259b28091e74e7f50588;hp=b68973614907896244b43ae677fcfdb7079e8381;hpb=6a28b70283f37b5cd08423098c9d39cef9f6add5;p=pspp-builds.git diff --git a/src/language/control/repeat.c b/src/language/control/repeat.c index b6897361..b5efdc99 100644 --- a/src/language/control/repeat.c +++ b/src/language/control/repeat.c @@ -469,7 +469,7 @@ do_repeat_filter (struct string *line, void *block_) struct string output; bool dot; - ds_init (&output, ds_capacity (line)); + ds_init (&output); /* Strip trailing whitespace, check for & remove terminal dot. */ while (isspace (ds_last (line)))