Skip to content

Commit f205483

Browse files
author
raissi-oussema
committed
revert suppress checks
1 parent 4d8f4c0 commit f205483

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

3rdParty/json/include/json.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3406,7 +3406,7 @@ NLOHMANN_JSON_NAMESPACE_END
34063406
template<typename U> class AllocatorType = std::allocator,
34073407
template<typename T, typename SFINAE = void> class JSONSerializer =
34083408
adl_serializer,
3409-
class BinaryType = std::vector<std::uint8_t>,
3409+
class BinaryType = std::vector<std::uint8_t>, // cppcheck-suppress syntaxError
34103410
class CustomBaseClass = void>
34113411
class basic_json;
34123412

@@ -4251,6 +4251,7 @@ inline std::size_t concat_length(const char /*c*/, const Args& ... rest)
42514251
template<typename... Args>
42524252
inline std::size_t concat_length(const char* cstr, const Args& ... rest)
42534253
{
4254+
// cppcheck-suppress ignoredReturnValue
42544255
return ::strlen(cstr) + concat_length(rest...);
42554256
}
42564257

@@ -19990,6 +19991,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec
1999019991
#if JSON_DIAGNOSTICS
1999119992
JSON_TRY
1999219993
{
19994+
// cppcheck-suppress assertWithSideEffect
1999319995
JSON_ASSERT(!check_parents || !is_structured() || std::all_of(begin(), end(), [this](const basic_json & j)
1999419996
{
1999519997
return j.m_parent == this;

Packet++/header/ProtocolType.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ namespace pcpp
217217
/// GTPv2 protocol
218218
const ProtocolType GTPv2 = 57;
219219

220-
/// Diagnostic over IP protocol (DOIP)
220+
/// Diagnostic over IP protocol (DOIP)
221221
const ProtocolType DOIP = 58;
222222

223223
/// An enum representing OSI model layers

0 commit comments

Comments
 (0)