forked from Archive/PX4-Autopilot
clang-tidy readability-named-parameter
This commit is contained in:
parent
0d0cbd8243
commit
17c1114b3e
|
@ -62,7 +62,6 @@ Checks: '*
|
|||
,-readability-else-after-return
|
||||
,-readability-implicit-bool-cast
|
||||
,-readability-inconsistent-declaration-parameter-name
|
||||
,-readability-named-parameter
|
||||
,-readability-non-const-parameter
|
||||
,-readability-redundant-declaration
|
||||
,-readability-redundant-member-init
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit a2ef69ec51579947d76accec427ca8f74a7938f7
|
||||
Subproject commit f80732f1b157c18f4b520b981f705b87f87a7ac8
|
|
@ -528,7 +528,7 @@ void Simulator::poll_topics()
|
|||
}
|
||||
}
|
||||
|
||||
void *Simulator::sending_trampoline(void *)
|
||||
void *Simulator::sending_trampoline(void * /*unused*/)
|
||||
{
|
||||
_instance->send();
|
||||
return nullptr;
|
||||
|
|
|
@ -173,7 +173,7 @@ public:
|
|||
int instance = 0,
|
||||
List<SubscriptionNode *> *list = nullptr);
|
||||
|
||||
Subscription(const Subscription &);
|
||||
Subscription(const Subscription & /*other*/);
|
||||
|
||||
/**
|
||||
* Deconstructor
|
||||
|
|
|
@ -84,7 +84,8 @@ private:
|
|||
UnitTest() : pubsubtest_passed(false), pubsubtest_print(false) {}
|
||||
|
||||
// Disallow copy
|
||||
UnitTest(const uORBTest::UnitTest &) {};
|
||||
UnitTest(const uORBTest::UnitTest & /*unused*/) = delete;
|
||||
|
||||
static int pubsubtest_threadEntry(char *const argv[]);
|
||||
int pubsublatency_main();
|
||||
|
||||
|
|
|
@ -1221,7 +1221,7 @@ namespace gyrosim
|
|||
|
||||
GYROSIM *g_dev_sim; // on simulated bus
|
||||
|
||||
int start(enum Rotation);
|
||||
int start(enum Rotation /*rotation*/);
|
||||
int stop();
|
||||
int test();
|
||||
int reset();
|
||||
|
|
Loading…
Reference in New Issue