mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
Merge bitcoin/bitcoin#24959: Remove not needed clang-format off comments
fa870e3d4cRemove not needed clang-format off comments (MarcoFalke) Pull request description: It seems odd to disable clang-format and force manual formatting when there is no need for it. So remove the clang-format comments and other unneeded comments. Can be reviewed with `--word-diff-regex=. --ignore-all-space` Looks like this was initially added in commitd9d79576f4to accommodate a linter that has since been removed and replaced by a functional test. ACKs for top commit: laanwj: Code review ACKfa870e3d4cfanquake: ACKfa870e3d4cTree-SHA512: 0f8f97c12f5dbe517dd96c10b10ce1b8772d8daed33e6b41f73ea1040e89888cf3b8c0ad7b20319e366fe30c71e8b181c89098ae7f6a3deb8647e1b4731db815
This commit is contained in:
@@ -247,17 +247,13 @@ static RPCHelpMan getrpcinfo()
|
||||
};
|
||||
}
|
||||
|
||||
// clang-format off
|
||||
static const CRPCCommand vRPCCommands[] =
|
||||
{ // category actor (function)
|
||||
// --------------------- -----------------------
|
||||
static const CRPCCommand vRPCCommands[]{
|
||||
/* Overall control/query calls */
|
||||
{ "control", &getrpcinfo, },
|
||||
{ "control", &help, },
|
||||
{ "control", &stop, },
|
||||
{ "control", &uptime, },
|
||||
{"control", &getrpcinfo},
|
||||
{"control", &help},
|
||||
{"control", &stop},
|
||||
{"control", &uptime},
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
CRPCTable::CRPCTable()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user