(duplicate_node): Return new index, not an error code,
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 20 Aug 2005 00:02:22 +0000 (00:02 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 20 Aug 2005 00:02:22 +0000 (00:02 +0000)
commitb27102aa2c8ce8657c8aeed62a9805c30fc134a9
treeba6177e51c4f29a0ec7ed719e47832d78d0c1cbf
parent4f5e1b0bf47d5fd63d612f0247023d92c8f11d6a
(duplicate_node): Return new index, not an error code,
and let the caller return REG_ESPACE if out of space.  This
removes an uninitialied-variable warning with GCC 4.0.1, and also
avoids taking the address of a local variable.  All callers
changed.
lib/regcomp.c