From 8e34d78443b8b53e90900fc9e2f7b4d7366596b0 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Fri, 20 Jan 2012 21:49:19 +0000 Subject: initialize config's "cfg" to null Signed-off-by: Michael Krelin --- (limited to 'src/eyekinfig.cc') diff --git a/src/eyekinfig.cc b/src/eyekinfig.cc index 6dde7b2..79cec80 100644 --- a/src/eyekinfig.cc +++ b/src/eyekinfig.cc @@ -5,7 +5,7 @@ #include "config.h" -eyekinfig_t::eyekinfig_t(const std::string& ma) : macaddress(ma) { +eyekinfig_t::eyekinfig_t(const std::string& ma) : macaddress(ma), cfg(0) { try { static cfg_opt_t opts[] = { CFG_STR((char*)"targetdir",(char*)"/var/lib/" PACKAGE "/%s",CFGF_NONE), -- cgit v0.9.0.2