Commit f455d17b authored by Petr Vokac's avatar Petr Vokac Committed by Fabrizio Furano
Browse files

Constructor should initialize even unused variables

parent 2d8ab36c
......@@ -55,7 +55,7 @@ struct DomeCredentials {
clientName(cn), remoteAddress(ra), groups(gr), oidc_authorized(false) {}
DomeCredentials() : oidc_authorized(false) {}
DomeCredentials(const SecurityContext *ctx) {
DomeCredentials(const SecurityContext *ctx) : oidc_authorized(false) {
if(ctx) {
clientName = ctx->credentials.clientName;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment