]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove unused member of internal struct
authorMattias Engdegård <mattiase@acm.org>
Fri, 8 Jul 2022 16:24:26 +0000 (18:24 +0200)
committerMattias Engdegård <mattiase@acm.org>
Fri, 8 Jul 2022 16:26:28 +0000 (18:26 +0200)
* src/fns.c (struct textprop_rec, concat_to_string): Remove `from`.

src/fns.c

index f4ba67b40e7179dcd07f34ef217eaf86ebc5beef..49d76a0e7c7a2d76022826ee64cdc6e0848ee994 100644 (file)
--- a/src/fns.c
+++ b/src/fns.c
@@ -712,7 +712,6 @@ the same empty object instead of its copy.  */)
 struct textprop_rec
 {
   ptrdiff_t argnum;            /* refer to ARGS (arguments of `concat') */
-  ptrdiff_t from;              /* refer to ARGS[argnum] (argument string) */
   ptrdiff_t to;                        /* refer to VAL (the target string) */
 };
 
@@ -843,7 +842,6 @@ concat_to_string (ptrdiff_t nargs, Lisp_Object *args)
          if (string_intervals (arg))
            {
              textprops[num_textprops].argnum = i;
-             textprops[num_textprops].from = 0;
              textprops[num_textprops].to = toindex;
              num_textprops++;
            }