emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 1c300c983f: Remove unused member of internal struct


From: Mattias Engdegård
Subject: master 1c300c983f: Remove unused member of internal struct
Date: Fri, 8 Jul 2022 12:26:39 -0400 (EDT)

branch: master
commit 1c300c983f60a15413cfd0b31abb7d8294a1a5cc
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    Remove unused member of internal struct
    
    * src/fns.c (struct textprop_rec, concat_to_string): Remove `from`.
---
 src/fns.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/fns.c b/src/fns.c
index f4ba67b40e..49d76a0e7c 100644
--- 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++;
            }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]