about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeonhard Holz <leonhard.holz@web.de>2015-06-22 07:46:37 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2015-06-22 07:46:37 +0530
commitf48b67323ad6a6d8f0c2f4128c07392a9a01c20b (patch)
tree4980c28fbb924582caa859d582d41aee9e1a32d0
parentcb0937b299182e78307795081489ec1f148bdbd7 (diff)
downloadglibc-f48b67323ad6a6d8f0c2f4128c07392a9a01c20b.tar.gz
glibc-f48b67323ad6a6d8f0c2f4128c07392a9a01c20b.tar.xz
glibc-f48b67323ad6a6d8f0c2f4128c07392a9a01c20b.zip
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.
-rw-r--r--ChangeLog4
-rw-r--r--string/strcoll_l.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 98b3802e56..7b9ab6a643 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
+
+	* string/strcoll_l.c: Remove unused struct element idxnow.
+
 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
 
 	[BZ #18569]
diff --git a/string/strcoll_l.c b/string/strcoll_l.c
index 0fa005f0f9..967bbba231 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.  */