diff --git a/controller/DB.cpp b/controller/DB.cpp index 4a5688e30..2f9a4a896 100644 --- a/controller/DB.cpp +++ b/controller/DB.cpp @@ -32,11 +32,9 @@ DB::DB(EmbeddedNetworkController *const nc,const Address &myAddress,const char * _myAddress(myAddress), _path((path) ? path : "") { - { - char tmp[32]; - _myAddress.toString(tmp); - _myAddressStr = tmp; - } + char tmp[32]; + _myAddress.toString(tmp); + _myAddressStr = tmp; } DB::~DB()