diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-11-07 15:23:16 -0800 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-11-07 15:23:16 -0800 |
commit | 9f85371073f488cde73d9ab7c840fc15ff54399d (patch) | |
tree | e7232c95f99016dac68931dd53d6f910bbb513d1 | |
parent | cb550ab4fecbcfbdb55d8298506572fdeeff97d6 (diff) | |
download | infinitytier-9f85371073f488cde73d9ab7c840fc15ff54399d.tar.gz infinitytier-9f85371073f488cde73d9ab7c840fc15ff54399d.zip |
cleanup
-rw-r--r-- | controller/DB.cpp | 8 |
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() |