History log of /ndk/sources/host-tools/ndk-stack/regex/regcomp.c
Revision Date Author Comments
3e018098caf068cb72e7d4c6e7d24945e32159e0 14-Aug-2012 Logan Chien <loganchien@google.com> Avoid uninitialized warning in regex/regcomp.c.

Though new_start is going to be initialized in
OCHAR case, it is not figured out by static
analyses. Thus, we are going to initialize
new_start to NULL to avoid the warning.

Change-Id: I929186fd13dd341ee6666838e7e615d13b70b804
1d7b7aac21c4f7f2e35bd0babbb4ea656172c4ec 14-Aug-2012 Logan Chien <loganchien@google.com> Remove unused value warning in regex/regcomp.c.

The "REQUIRE(co, e)" macro in regex/regcomp.c is
using OR operator to control the execution of
SETERROR(e).

However, this will trigger -Wunused-value warning,
since the result of ((co) || SETERROR(e)) will never
be used.

Change-Id: I6786a693a483e658b75aa56e014ca7b8b6fe19ac
c5828fb118e3bb6cc1dce509c07a21de6edb5584 14-Aug-2012 Logan Chien <loganchien@google.com> Add const-qualifier for string literals.

Change-Id: I3441608fd73d19228542a288603bfe66e51f0caf
f9e88edc21c894886747e899dc29c02a28728d65 14-Jun-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Add regex library to the sources

This is needed to make sure that executable is independent from
intricacies of the configurations in which it runs.

Change-Id: Ia3bf9b598b4a61a566bf9307a708af5453c411b3