clang-tidy readability-named-parameter

This commit is contained in:
Daniel Agar 2017-05-13 16:03:52 -04:00
parent 0d0cbd8243
commit 17c1114b3e
6 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -528,7 +528,7 @@ void Simulator::poll_topics()
}
}
void *Simulator::sending_trampoline(void *)
void *Simulator::sending_trampoline(void * /*unused*/)
{
_instance->send();
return nullptr;

View File

@ -173,7 +173,7 @@ public:
int instance = 0,
List<SubscriptionNode *> *list = nullptr);
Subscription(const Subscription &);
Subscription(const Subscription & /*other*/);
/**
* Deconstructor

View File

@ -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();

View File

@ -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();