Get rid of capacity argument to ds_init() and update all callers.
[pspp-builds.git] / src / language / control / repeat.c
index b68973614907896244b43ae677fcfdb7079e8381..b5efdc99f6c797c1eb02ceee15395abed643955c 100644 (file)
@@ -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)))