Remove debug printf calls
This commit is contained in:
parent
4af98e9951
commit
bc516445ef
@ -20,7 +20,6 @@ static int validate_node(node_t *node, fielddefset_t *fields)
|
||||
|
||||
for (i = 0; i < fields->len; i++) {
|
||||
if (fields->fielddefs[i].name) {
|
||||
printf("Fields: %s, Looking for: %s\n", fields->fielddefs[i].name, node->value.field.fieldname);
|
||||
if (strcmp(fields->fielddefs[i].name, node->value.field.fieldname) == 0) {
|
||||
node->value.field.index = i;
|
||||
return 1;
|
||||
@ -43,9 +42,6 @@ int parse_filter_string(char *filter)
|
||||
return 0;
|
||||
}
|
||||
zconf.filter.expression = zfilter;
|
||||
print_expression(zfilter);
|
||||
printf("%s\n", "");
|
||||
fflush(stdout);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -7,8 +7,7 @@
|
||||
|
||||
void yyerror(const char *str)
|
||||
{
|
||||
fprintf(stderr,"error: %s\n",str);
|
||||
fprintf(stderr, "%s\n", "YOLO");
|
||||
fprintf(stderr,"Parse error: %s\n",str);
|
||||
}
|
||||
|
||||
int yywrap()
|
||||
|
Loading…
Reference in New Issue
Block a user