diff options
author | bulatman <bulatman@yandex-team.com> | 2023-08-02 10:15:08 +0300 |
---|---|---|
committer | bulatman <bulatman@yandex-team.com> | 2023-08-02 10:15:08 +0300 |
commit | f3f107ba8959babdcd096d7d599efca438fd1f97 (patch) | |
tree | b3fc25e636f68b8eb363588d546dddfc85604dba /library | |
parent | 0b51f759add67b66ecbc8a585b99f19b5856f56e (diff) | |
download | ydb-f3f107ba8959babdcd096d7d599efca438fd1f97.tar.gz |
Remove extra semicolon
Diffstat (limited to 'library')
-rw-r--r-- | library/cpp/compproto/huff.h | 2 | ||||
-rw-r--r-- | library/cpp/getopt/small/last_getopt_opt.cpp | 5 | ||||
-rw-r--r-- | library/cpp/json/fast_sax/parser.rl6 | 1 |
3 files changed, 1 insertions, 7 deletions
diff --git a/library/cpp/compproto/huff.h b/library/cpp/compproto/huff.h index 3d93c0184d..321f5ab993 100644 --- a/library/cpp/compproto/huff.h +++ b/library/cpp/compproto/huff.h @@ -353,7 +353,7 @@ namespace NCompProto { if (cum > (ui32)(-1)) { return; } - }; + } } TCache<1024, TCoderEntry> Cache; diff --git a/library/cpp/getopt/small/last_getopt_opt.cpp b/library/cpp/getopt/small/last_getopt_opt.cpp index 9a99437f4b..9c53312de8 100644 --- a/library/cpp/getopt/small/last_getopt_opt.cpp +++ b/library/cpp/getopt/small/last_getopt_opt.cpp @@ -28,7 +28,6 @@ namespace NLastGetopt { } char TOpt::GetChar() const { - ; if (Chars_.empty()) ythrow TConfException() << "no char for option " << this->ToShortString(); return Chars_.at(0); @@ -41,7 +40,6 @@ namespace NLastGetopt { } TString TOpt::GetName() const { - ; if (LongNames_.empty()) ythrow TConfException() << "no name for option " << this->ToShortString(); return LongNames_.at(0); @@ -52,7 +50,6 @@ namespace NLastGetopt { } TOpt& TOpt::AddShortName(unsigned char c) { - ; if (!IsAllowedShortName(c)) throw TUsageException() << "option char '" << c << "' is not allowed"; Chars_.push_back(c); @@ -72,7 +69,6 @@ namespace NLastGetopt { } TOpt& TOpt::AddLongName(const TString& name) { - ; unsigned char c = 0; if (!IsAllowedLongName(name, &c)) throw TUsageException() << "option char '" << c @@ -88,7 +84,6 @@ namespace NLastGetopt { } TString TOpt::ToShortString() const { - ; if (!LongNames_.empty()) return NPrivate::OptToString(LongNames_.front()); if (!Chars_.empty()) diff --git a/library/cpp/json/fast_sax/parser.rl6 b/library/cpp/json/fast_sax/parser.rl6 index edb4e9ee1b..504f51d215 100644 --- a/library/cpp/json/fast_sax/parser.rl6 +++ b/library/cpp/json/fast_sax/parser.rl6 @@ -295,7 +295,6 @@ bool TParserCtx::Parse() { write init; write exec; }%% - ; Y_UNUSED(fastjson_en_main); } catch (const TFromStringException& e) { return OnError(e.what()); |