[PATCH] Fix warnings on regex_internal.c
Jakub Jelinek
jakub@redhat.com
Fri Jan 2 20:50:00 GMT 2004
Hi!
regex-rewrite-node-set-insert.patch introduced 2 new warnings, cured by
following patch:
2004-01-02 Jakub Jelinek <jakub@redhat.com>
* posix/regex_internal.c (re_node_set_insert): Remove unused
variables.
--- libc/posix/regex_internal.c.jj 2004-01-02 16:17:11.000000000 +0100
+++ libc/posix/regex_internal.c 2004-01-02 21:47:39.000000000 +0100
@@ -1162,7 +1162,7 @@ re_node_set_insert (set, elem)
re_node_set *set;
int elem;
{
- int idx, right, mid;
+ int idx;
/* In case the set is empty. */
if (set->alloc == 0)
{
Jakub
More information about the Libc-hacker
mailing list