diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2023-05-12 18:06:35 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2023-05-12 18:19:12 +0300 |
commit | a232343d8c1ff05ac9fdb55f3ec299b42d6b6929 (patch) | |
tree | 76ad30c9c3cfd87eb49b9dc2d47856ce8d55a042 | |
parent | eb8a39988187af0eb9e51f828f96b4d96bdec906 (diff) | |
download | bmcweb-a232343d8c1ff05ac9fdb55f3ec299b42d6b6929.tar.xz |
http-app: fix unused macro clang-tidy warning
```
/data0/jenkins/workspace/ci-repository/openbmc/bmcweb/http/app.hpp:27:9: error: macro is not used [clang-diagnostic-unused-macros,-warnings-as-errors]
#define BMCWEB_ROUTE(app, url)
```
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I49b6239d7d5f31c52af6f6e5b0bc57be22a299b5
-rw-r--r-- | http/app.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http/app.hpp b/http/app.hpp index d47cd898ac..a3a6e16255 100644 --- a/http/app.hpp +++ b/http/app.hpp @@ -23,7 +23,7 @@ #include <string> #include <utility> -// NOLINTNEXTLINE(cppcoreguidelines-macro-usage) +// NOLINTNEXTLINE(cppcoreguidelines-macro-usage, clang-diagnostic-unused-macros) #define BMCWEB_ROUTE(app, url) \ app.template route<crow::black_magic::getParameterTag(url)>(url) |