summaryrefslogtreecommitdiff
path: root/src/utils.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2013-05-19 02:06:45 -0500
committerJohn Wiegley <johnw@newartisans.com>2013-05-19 02:14:27 -0500
commitdb35e5c8fccf965c7383bebcfca8f7c3ad681d3b (patch)
tree945181016d58b48b2de6d60bf04a87cd39d6b18c /src/utils.cc
parent0ab56f5d85ca20005e60eeafc2a7a2ce169689ee (diff)
downloadfork-ledger-db35e5c8fccf965c7383bebcfca8f7c3ad681d3b.tar.gz
fork-ledger-db35e5c8fccf965c7383bebcfca8f7c3ad681d3b.tar.bz2
fork-ledger-db35e5c8fccf965c7383bebcfca8f7c3ad681d3b.zip
Resolve new compiler warnings from Clang
Diffstat (limited to 'src/utils.cc')
-rw-r--r--src/utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.cc b/src/utils.cc
index 2f592325..4f810f93 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -635,7 +635,7 @@ optional<boost::u32regex> _log_category_re;
optional<boost::regex> _log_category_re;
#endif
-struct __maybe_enable_debugging {
+static struct __maybe_enable_debugging {
__maybe_enable_debugging() {
if (const char * p = std::getenv("LEDGER_DEBUG")) {
_log_level = LOG_DEBUG;