aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-05-23 23:10:59 -0400
committerJeff Garzik <jgarzik@redhat.com>2012-05-23 23:10:59 -0400
commit429039d45d1af9cfda9e706d4ac8f1a144ed66d4 (patch)
treec04ac16d98ff31e50b4023cdbc9e9899651e2093 /src/main.cpp
parent8956453c0d4f5cff3186e1c9a8e6d8d74e3c7445 (diff)
Refactor: move runCommand() to util.cpp
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp8
1 files changed, 0 insertions, 8 deletions
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)
{