diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-07-02 17:45:34 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-07-02 17:46:25 +0200 |
commit | 278000a28b8eceb8528ebdcf1d601de8192979e8 (patch) | |
tree | a522e5b53bca5d3e34c8a86d7bbee25a1ad15b3a /regexp | |
parent | 892bb81d17b3351c196661c44fb15b29509c7115 (diff) |
Remove unused defines
Some of them were commented out for documentation purpose.
Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
Diffstat (limited to 'regexp')
-rw-r--r-- | regexp/source/reclass.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/regexp/source/reclass.cxx b/regexp/source/reclass.cxx index 8fdadef2c1f3..004add26f255 100644 --- a/regexp/source/reclass.cxx +++ b/regexp/source/reclass.cxx @@ -174,8 +174,6 @@ /* (Re)Allocate N items of type T using malloc, or fail. */ #define TALLOC(n, t) ((t *) malloc ((n) * sizeof (t))) #define RETALLOC(addr, n, t) ((addr) = (t *) realloc (addr, (n) * sizeof (t))) -#define RETALLOC_IF(addr, n, t) \ - if (addr) RETALLOC((addr), (n), t); else (addr) = TALLOC ((n), t) #define REGEX_TALLOC(n, t) ((t *) REGEX_ALLOCATE ((n) * sizeof (t))) #define BYTEWIDTH 16 /* In bits (assuming sizeof(sal_Unicode)*8) */ |