Skip to content

Commit

Permalink
revert suppress checks
Browse files Browse the repository at this point in the history
  • Loading branch information
raissi-oussema committed Feb 4, 2025
1 parent 4d8f4c0 commit f205483
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion 3rdParty/json/include/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3406,7 +3406,7 @@ NLOHMANN_JSON_NAMESPACE_END
template<typename U> class AllocatorType = std::allocator,
template<typename T, typename SFINAE = void> class JSONSerializer =
adl_serializer,
class BinaryType = std::vector<std::uint8_t>,
class BinaryType = std::vector<std::uint8_t>, // cppcheck-suppress syntaxError
class CustomBaseClass = void>
class basic_json;

Expand Down Expand Up @@ -4251,6 +4251,7 @@ inline std::size_t concat_length(const char /*c*/, const Args& ... rest)
template<typename... Args>
inline std::size_t concat_length(const char* cstr, const Args& ... rest)
{
// cppcheck-suppress ignoredReturnValue
return ::strlen(cstr) + concat_length(rest...);
}

Expand Down Expand Up @@ -19990,6 +19991,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec
#if JSON_DIAGNOSTICS
JSON_TRY
{
// cppcheck-suppress assertWithSideEffect
JSON_ASSERT(!check_parents || !is_structured() || std::all_of(begin(), end(), [this](const basic_json & j)
{
return j.m_parent == this;
Expand Down
2 changes: 1 addition & 1 deletion Packet++/header/ProtocolType.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ namespace pcpp
/// GTPv2 protocol
const ProtocolType GTPv2 = 57;

/// Diagnostic over IP protocol (DOIP)
/// Diagnostic over IP protocol (DOIP)
const ProtocolType DOIP = 58;

/// An enum representing OSI model layers
Expand Down

0 comments on commit f205483

Please sign in to comment.