diff options
author | Ed Tanous <edtanous@google.com> | 2022-01-25 21:28:56 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-02-11 23:30:05 +0300 |
commit | e05aec50f10116e6dda7e377bc61799aa5b7c166 (patch) | |
tree | 964aedffefcc787029c571a83889247caa0d3968 /include/login_routes.hpp | |
parent | 213ffc701d838bece5893cda23475e7518bd6955 (diff) | |
download | bmcweb-e05aec50f10116e6dda7e377bc61799aa5b7c166.tar.xz |
Add readability-redundant-* checks
There's a number of redundancies in our code that clang can sanitize
out. Fix the existing problems, and enable the checks.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Ie63d7b7f0777b702fbf1b23a24e1bed7b4f5183b
Diffstat (limited to 'include/login_routes.hpp')
-rw-r--r-- | include/login_routes.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/login_routes.hpp b/include/login_routes.hpp index c918cddd1a..1087b0b8de 100644 --- a/include/login_routes.hpp +++ b/include/login_routes.hpp @@ -185,7 +185,7 @@ inline void requestRoutes(App& app) } else { - std::string unsupportedClientId = ""; + std::string unsupportedClientId; auto session = persistent_data::SessionStore::getInstance() .generateUserSession( |