summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--controller/DB.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/controller/DB.cpp b/controller/DB.cpp
index 4a5688e3..2f9a4a89 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()