diff options
| author | Jeff Garzik <[email protected]> | 2012-05-23 23:10:59 -0400 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-05-23 23:10:59 -0400 |
| commit | 429039d45d1af9cfda9e706d4ac8f1a144ed66d4 (patch) | |
| tree | c04ac16d98ff31e50b4023cdbc9e9899651e2093 /src/main.cpp | |
| parent | .gitignore: add test_bitcoin (diff) | |
| download | discoin-429039d45d1af9cfda9e706d4ac8f1a144ed66d4.tar.xz discoin-429039d45d1af9cfda9e706d4ac8f1a144ed66d4.zip | |
Refactor: move runCommand() to util.cpp
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main.cpp b/src/main.cpp index 9a4d7abc8..9e20ca626 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) { |