From 9f85371073f488cde73d9ab7c840fc15ff54399d Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 7 Nov 2017 15:23:16 -0800 Subject: [PATCH] cleanup --- controller/DB.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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()