diff options
author | Michele Papalini <micpapal@cisco.com> | 2023-02-01 17:25:21 +0100 |
---|---|---|
committer | Michele Papalini <micpapal@cisco.com> | 2023-02-02 14:56:22 +0100 |
commit | b96d1545a8d2a173dc5911ed0bca3e04dbb02176 (patch) | |
tree | a69893191b0f7d52c10135e8b0c7702378ffee69 /apps/http-proxy/src/http_1x_message_fast_parser.cc | |
parent | f72846be51c7fd70310ea166cfc2ffbdc930f0e6 (diff) |
fix(apps): fix issues reported by sonarqube
Ref: HICN-836
Signed-off-by: Michele Papalini <micpapal@cisco.com>
Change-Id: Ie76771ca75bd224084ce3c893aba661b97064419
Diffstat (limited to 'apps/http-proxy/src/http_1x_message_fast_parser.cc')
-rw-r--r-- | apps/http-proxy/src/http_1x_message_fast_parser.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/http-proxy/src/http_1x_message_fast_parser.cc b/apps/http-proxy/src/http_1x_message_fast_parser.cc index e97c33161..ffae2368b 100644 --- a/apps/http-proxy/src/http_1x_message_fast_parser.cc +++ b/apps/http-proxy/src/http_1x_message_fast_parser.cc @@ -99,7 +99,8 @@ bool HTTPMessageFastParser::isMpdRequest(const uint8_t *headers, return false; } -uint32_t HTTPMessageFastParser::parseCacheControl(const uint8_t *headers, - std::size_t length) { +uint32_t HTTPMessageFastParser::parseCacheControl( + [[maybe_unused]] const uint8_t *headers, + [[maybe_unused]] std::size_t length) { return 0; } |