Redundant else statements in SRC/logging.cpp #32830
issue Raimo33 openend this issue on June 29, 2025-
Raimo33 commented at 10:55 pm on June 29, 2025: nonestatic std::optionalBCLog::Level GetLogLevel(std::string_view level_str) { if (level_str == “trace”) { return BCLog::Level::Trace; } else if (level_str == “debug”) { return BCLog::Level::Debug; } else if (level_str == “info”) { return BCLog::Level::Info; } else if (level_str == “warning”) { return BCLog::Level::Warning; } else if (level_str == “error”) { return BCLog::Level::Error; } else { return std::nullopt; } }
-
l0rinc commented at 5:50 am on June 30, 2025: contributorPlease stop spamming, this isn’t useful
-
maflcko closed this on Jun 30, 2025
-
bitcoin locked this on Jun 30, 2025
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-07-07 21:13 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-07-07 21:13 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me