summaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus
diff options
context:
space:
mode:
authormvel <[email protected]>2022-02-10 16:45:41 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:45:41 +0300
commitbd30392c4cc92487950adc375c07adf52da1d592 (patch)
treee8d1a3f19b7fc890bcef6e4cc5de41f1d88c9ac3 /library/cpp/messagebus
parent5d50718e66d9c037dc587a0211110b7d25a66185 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/messagebus')
-rw-r--r--library/cpp/messagebus/misc/tokenquota.h4
-rw-r--r--library/cpp/messagebus/network.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/messagebus/misc/tokenquota.h b/library/cpp/messagebus/misc/tokenquota.h
index 190547fa54e..375bfa21302 100644
--- a/library/cpp/messagebus/misc/tokenquota.h
+++ b/library/cpp/messagebus/misc/tokenquota.h
@@ -21,9 +21,9 @@ namespace NBus {
, Acquired(0)
, WakeLev(wake < 1 ? Max<size_t>(1, tokens / 2) : 0)
, Tokens_(tokens)
- {
+ {
Y_UNUSED(padd_);
- }
+ }
bool Acquire(TAtomic level = 1, bool force = false) {
level = Max(TAtomicBase(level), TAtomicBase(1));
diff --git a/library/cpp/messagebus/network.cpp b/library/cpp/messagebus/network.cpp
index 304bedae5ac..de1998d2579 100644
--- a/library/cpp/messagebus/network.cpp
+++ b/library/cpp/messagebus/network.cpp
@@ -125,7 +125,7 @@ std::pair<unsigned, TVector<TBindResult>> NBus::BindOnPort(int port, bool reuseP
void NBus::NPrivate::SetSockOptTcpCork(SOCKET s, bool value) {
#ifdef _linux_
CheckedSetSockOpt(s, IPPROTO_TCP, TCP_CORK, (int)value, "TCP_CORK");
-#else
+#else
Y_UNUSED(s);
Y_UNUSED(value);
#endif