mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
clang-tidy readability-named-parameter
This commit is contained in:
@@ -62,7 +62,6 @@ Checks: '*
|
|||||||
,-readability-else-after-return
|
,-readability-else-after-return
|
||||||
,-readability-implicit-bool-cast
|
,-readability-implicit-bool-cast
|
||||||
,-readability-inconsistent-declaration-parameter-name
|
,-readability-inconsistent-declaration-parameter-name
|
||||||
,-readability-named-parameter
|
|
||||||
,-readability-non-const-parameter
|
,-readability-non-const-parameter
|
||||||
,-readability-redundant-declaration
|
,-readability-redundant-declaration
|
||||||
,-readability-redundant-member-init
|
,-readability-redundant-member-init
|
||||||
|
|||||||
Submodule src/lib/DriverFramework updated: a2ef69ec51...f80732f1b1
@@ -528,7 +528,7 @@ void Simulator::poll_topics()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void *Simulator::sending_trampoline(void *)
|
void *Simulator::sending_trampoline(void * /*unused*/)
|
||||||
{
|
{
|
||||||
_instance->send();
|
_instance->send();
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ public:
|
|||||||
int instance = 0,
|
int instance = 0,
|
||||||
List<SubscriptionNode *> *list = nullptr);
|
List<SubscriptionNode *> *list = nullptr);
|
||||||
|
|
||||||
Subscription(const Subscription &);
|
Subscription(const Subscription & /*other*/);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Deconstructor
|
* Deconstructor
|
||||||
|
|||||||
@@ -84,7 +84,8 @@ private:
|
|||||||
UnitTest() : pubsubtest_passed(false), pubsubtest_print(false) {}
|
UnitTest() : pubsubtest_passed(false), pubsubtest_print(false) {}
|
||||||
|
|
||||||
// Disallow copy
|
// Disallow copy
|
||||||
UnitTest(const uORBTest::UnitTest &) {};
|
UnitTest(const uORBTest::UnitTest & /*unused*/) = delete;
|
||||||
|
|
||||||
static int pubsubtest_threadEntry(char *const argv[]);
|
static int pubsubtest_threadEntry(char *const argv[]);
|
||||||
int pubsublatency_main();
|
int pubsublatency_main();
|
||||||
|
|
||||||
|
|||||||
@@ -1221,7 +1221,7 @@ namespace gyrosim
|
|||||||
|
|
||||||
GYROSIM *g_dev_sim; // on simulated bus
|
GYROSIM *g_dev_sim; // on simulated bus
|
||||||
|
|
||||||
int start(enum Rotation);
|
int start(enum Rotation /*rotation*/);
|
||||||
int stop();
|
int stop();
|
||||||
int test();
|
int test();
|
||||||
int reset();
|
int reset();
|
||||||
|
|||||||
Reference in New Issue
Block a user