Remove unused local var 317/head
authorsvost <ya.nowa@yandex.ru>
Fri, 15 Apr 2016 20:56:18 +0000 (23:56 +0300)
committersvost <ya.nowa@yandex.ru>
Fri, 15 Apr 2016 20:56:18 +0000 (23:56 +0300)
src/init.cpp

index 50a79ac..ac81bf0 100644 (file)
@@ -342,16 +342,15 @@ bool DropBlockIndex()
         }
         return true;
     }
-    catch(std::exception &e)
+    catch(const std::exception&)
     {
         // TODO: report error here
         return false;
     }
 }
 
-/** Initialize bitcoin.
- *  @pre Parameters should be parsed and config file should be read.
- */
+// Initialize bitcoin.
+//  @pre Parameters should be parsed and config file should be read.
 bool AppInit2()
 {
     // ********************************************************* Step 1: setup