From 429039d45d1af9cfda9e706d4ac8f1a144ed66d4 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Wed, 23 May 2012 23:10:59 -0400 Subject: Refactor: move runCommand() to util.cpp --- src/main.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 9a4d7abc8c..9e20ca6261 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1501,14 +1501,6 @@ bool static Reorganize(CTxDB& txdb, CBlockIndex* pindexNew) } -static void -runCommand(std::string strCommand) -{ - int nErr = ::system(strCommand.c_str()); - if (nErr) - printf("runCommand error: system(%s) returned %d\n", strCommand.c_str(), nErr); -} - // Called from inside SetBestChain: attaches a block to the new best chain being built bool CBlock::SetBestChainInner(CTxDB& txdb, CBlockIndex *pindexNew) { -- cgit v1.2.3