This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] remove now unused idxnow in strcoll


The struct element idxnow is not used and can be removed. Tests show no problems.


	* string/strcoll_l.c: Remove unused struct element idxnow.


diff --git a/string/strcoll_l.c b/string/strcoll_l.c
index 0fa005f..14bfb8b 100644
--- a/string/strcoll_l.c
+++ b/string/strcoll_l.c
@@ -62,7 +62,6 @@ typedef struct
   int len;			/* Length of the current sequence.  */
   size_t val;			/* Position of the sequence relative to the
 				   previous non-ignored sequence.  */
-  size_t idxnow;		/* Current index in sequences.  */
   size_t idxmax;		/* Maximum index in sequences.  */
   size_t idxcnt;		/* Current count of indices.  */
   size_t backw;			/* Current Backward sequence index.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]