aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/init.cpp3
-rw-r--r--src/init.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 96f7f7b3c8..d924bd293b 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -40,7 +40,6 @@ using namespace std;
using namespace boost;
#ifdef ENABLE_WALLET
-std::string strWalletFile;
CWallet* pwalletMain;
#endif
@@ -584,7 +583,7 @@ bool AppInit2(boost::thread_group& threadGroup)
}
bSpendZeroConfChange = GetArg("-spendzeroconfchange", true);
- strWalletFile = GetArg("-wallet", "wallet.dat");
+ std::string strWalletFile = GetArg("-wallet", "wallet.dat");
#endif
// ********************************************************* Step 4: application initialization: dir lock, daemonize, pidfile, debug log
diff --git a/src/init.h b/src/init.h
index 2f56923055..4a967bea37 100644
--- a/src/init.h
+++ b/src/init.h
@@ -14,7 +14,6 @@ namespace boost {
class thread_group;
};
-extern std::string strWalletFile;
extern CWallet* pwalletMain;
void StartShutdown();