Adam Ierymenko 7 years ago
parent
commit
9f85371073
1 changed files with 3 additions and 5 deletions
  1. 3 5
      controller/DB.cpp

+ 3 - 5
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()