diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2021-04-18 19:07:13 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2021-04-19 06:11:38 -0400 |
commit | 615965cfd1ef1e0627d69970d99bdfedb9176833 (patch) | |
tree | 49197eebf7afdb1d7a192e3b08bee414f493bc99 /src/init.cpp | |
parent | 5bed2ab42c4f1a820468f7005ce62e39001f6611 (diff) |
Move common package version code to init/common
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/init.cpp b/src/init.cpp index 35c989d4e9..4760d8c4ab 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -756,14 +756,7 @@ void InitParameterInteraction(ArgsManager& args) void InitLogging(const ArgsManager& args) { init::SetLoggingOptions(args); - - std::string version_string = FormatFullVersion(); -#ifdef DEBUG - version_string += " (debug build)"; -#else - version_string += " (release build)"; -#endif - LogPrintf(PACKAGE_NAME " version %s\n", version_string); + init::LogPackageVersion(); } namespace { // Variables internal to initialization process only |