summaryrefslogtreecommitdiffabout
path: root/src
authorSergey Poznyakoff <gray@gnu.org.ua>2013-06-01 14:15:19 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2013-06-01 14:16:37 (GMT)
commit776f6ebe0a330c3a5c0ba541c291ee7ffbbd5151 (patch) (side-by-side diff)
tree24c12c4cd7579d9500d69398e98623661eca165b /src
parent0f5490281fa1f314da14ea4daa3ebbefda9c008d (diff)
downloadgrecs-776f6ebe0a330c3a5c0ba541c291ee7ffbbd5151.tar.gz
grecs-776f6ebe0a330c3a5c0ba541c291ee7ffbbd5151.tar.bz2
Minor change
* src/parser.c (grecs_error_count,grecs_adjust_string_locations): Initialize
Diffstat (limited to 'src') (more/less context) (ignore whitespace changes)
-rw-r--r--src/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.c b/src/parser.c
index 8d917f9..71fc59d 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -22,11 +22,11 @@
#include <errno.h>
#include "grecs.h"
-int grecs_error_count;
+int grecs_error_count = 0;
int grecs_default_port = 0;
int grecs_trace_flags = 0;
-int grecs_adjust_string_locations;
+int grecs_adjust_string_locations = 0;
#ifndef GRECS_DEFAULT_PARSER
# define GRECS_DEFAULT_PARSER grecs_grecs_parser

Return to:

Send suggestions and report system problems to the System administrator.