mirror of
https://github.com/sheumann/hush.git
synced 2025-03-13 15:30:31 +00:00
- fix compilation if FEATURE_TR_CLASSES is off. Sorry for that..
This commit is contained in:
parent
cc890264d9
commit
7b881c7168
@ -83,7 +83,6 @@ static unsigned int expand(const char *arg, char *buffer)
|
|||||||
char *buffer_start = buffer;
|
char *buffer_start = buffer;
|
||||||
unsigned i; /* XXX: FIXME: use unsigned char? */
|
unsigned i; /* XXX: FIXME: use unsigned char? */
|
||||||
unsigned char ac;
|
unsigned char ac;
|
||||||
#if ENABLE_FEATURE_TR_CLASSES
|
|
||||||
#define CLO ":]"
|
#define CLO ":]"
|
||||||
const char * const classes[] = {
|
const char * const classes[] = {
|
||||||
"alpha"CLO, "alnum"CLO, "digit"CLO, "lower"CLO, "upper"CLO, "space"CLO,
|
"alpha"CLO, "alnum"CLO, "digit"CLO, "lower"CLO, "upper"CLO, "space"CLO,
|
||||||
@ -102,7 +101,6 @@ static unsigned int expand(const char *arg, char *buffer)
|
|||||||
//#define CLASS_xdigit 10
|
//#define CLASS_xdigit 10
|
||||||
//#define CLASS_graph 11
|
//#define CLASS_graph 11
|
||||||
//#define CLASS_print 12
|
//#define CLASS_print 12
|
||||||
#endif
|
|
||||||
while (*arg) {
|
while (*arg) {
|
||||||
if (*arg == '\\') {
|
if (*arg == '\\') {
|
||||||
arg++;
|
arg++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user