aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-04-28 12:40:22 +0100
committerfanquake <fanquake@gmail.com>2022-04-28 12:40:36 +0100
commite36c612e5a9bd811ceab5ecaa9686403d7e94fe0 (patch)
treebdd554f32d6d572f56e58e456547c560120068f7 /src
parent85aea18ae660b5edf7b6c1415f033cfcb15307f9 (diff)
parentfa82a1ed833fd749849fa19267207b63e338d84d (diff)
downloadbitcoin-e36c612e5a9bd811ceab5ecaa9686403d7e94fe0.tar.xz
Merge bitcoin/bitcoin#24988: lint: Mention NONFATAL_UNREACHABLE in lint-assertions.py
fa82a1ed833fd749849fa19267207b63e338d84d lint: Mention NONFATAL_UNREACHABLE in lint-assertions.py (MacroFake) Pull request description: Follow up to commit b1c5991eebb916755be188f355ad36fe01a3f529. Also remove empty newline added in that commit. ACKs for top commit: fanquake: ACK fa82a1ed833fd749849fa19267207b63e338d84d Tree-SHA512: cf398eceb135672137183bfa19ee57a82553a3dbcbce74db954c6fcd79f9606092cc0d8217610fe6cd67b7ef2d4f01d90329f0f568516d9b14aa2cd0f0715478
Diffstat (limited to 'src')
-rw-r--r--src/util/check.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/util/check.h b/src/util/check.h
index 91d62e262d..aca957925a 100644
--- a/src/util/check.h
+++ b/src/util/check.h
@@ -30,7 +30,6 @@ T&& inline_check_non_fatal(T&& val, const char* file, int line, const char* func
throw NonFatalCheckError(
format_internal_error(assertion, file, line, func, PACKAGE_BUGREPORT));
}
-
return std::forward<T>(val);
}