summaryrefslogtreecommitdiff
path: root/extra/comp_err.c
diff options
context:
space:
mode:
authorkevg <claprix@yandex.ru>2016-11-24 17:36:02 +0300
committerkevg <claprix@yandex.ru>2016-11-24 17:36:02 +0300
commit780db8e25239e5423cfab50c04c60b79ebc0224b (patch)
tree2c73735c76607093d466a143627efdd8b4fbc2ca /extra/comp_err.c
parentf4d6f26a4fae3f0cfcc6e77667c7697c4e024189 (diff)
downloadmariadb-git-780db8e25239e5423cfab50c04c60b79ebc0224b.tar.gz
fix build and some warnings
Diffstat (limited to 'extra/comp_err.c')
-rw-r--r--extra/comp_err.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/comp_err.c b/extra/comp_err.c
index a5530305317..cf6262f66e2 100644
--- a/extra/comp_err.c
+++ b/extra/comp_err.c
@@ -172,8 +172,8 @@ int main(int argc, char *argv[])
MY_INIT(argv[0]);
{
uint max_error, error_count;
- struct errors *error_head;
- struct languages *lang_head;
+ struct errors *error_head= NULL;
+ struct languages *lang_head= NULL;
DBUG_ENTER("main");
charsets_dir= DEFAULT_CHARSET_DIR;