From aaee19c4972d65e7db2f0edb49ac7bb99f3b363f Mon Sep 17 00:00:00 2001 From: Dimitry Date: Thu, 20 Aug 2015 01:51:56 +0300 Subject: [PATCH] style --- test/boostTest.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/boostTest.cpp b/test/boostTest.cpp index 8cae101f9..f263a478d 100644 --- a/test/boostTest.cpp +++ b/test/boostTest.cpp @@ -15,8 +15,8 @@ along with cpp-ethereum. If not, see . */ /** @file boostTest.cpp - * @author Marko Simovic - * @date 2014 + * @author Dimitry Khokhlov + * @date 2015 * Stub for generating main boost.test module. * Original code taken from boost sources. */ @@ -39,8 +39,9 @@ std::streambuf* oldCoutStreamBuf; //Custom Boost Initialization test_suite* init_func( int argc, char* argv[] ) { - if (argc == 0) - argv[0] = (char*)"a"; + //Required for boost. -nowarning + (void) argc; + (void) argv[0]; //restore output for creating test std::cout.rdbuf(oldCoutStreamBuf);