]> WPIA git - cassiopeia.git/commitdiff
fix: Avoid unnecessary constructor calls/allocations
authorBenny Baumann <BenBE@geshi.org>
Sat, 6 Jun 2015 00:09:34 +0000 (02:09 +0200)
committerBenny Baumann <BenBE@geshi.org>
Sat, 6 Jun 2015 00:24:56 +0000 (02:24 +0200)
src/apps/client.cpp

index 193626fe906edaa26607fdf260d374061e7b6721..71ef1790cd70cbb65d56b22c586614ffb195b4e6 100644 (file)
@@ -50,11 +50,9 @@ void checkCRLs( std::shared_ptr<Signer> sign ) {
 }
 
 int main( int argc, const char* argv[] ) {
-    ( void ) argc;
-    ( void ) argv;
     bool once = false;
 
-    if( argc == 2 && std::string( "--once" ) == std::string( argv[1] ) ) {
+    if( argc == 2 && std::string( "--once" ) == argv[1] ) {
         once = true;
     }