From: Timo Sirainen Date: Fri, 6 Sep 2013 15:30:54 +0000 (+0300) Subject: auth: Removed unnecessary NULL check. X-Git-Tag: 2.2.6~107 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1c1ded8e94004fb04abc17db4747ad253c14d23c;p=thirdparty%2Fdovecot%2Fcore.git auth: Removed unnecessary NULL check. --- diff --git a/src/auth/auth-request.c b/src/auth/auth-request.c index a7470f3819..7206a3f303 100644 --- a/src/auth/auth-request.c +++ b/src/auth/auth-request.c @@ -60,7 +60,7 @@ auth_request_new(const struct mech_module *mech) request->set = global_auth_settings; request->mech = mech; - request->mech_name = mech == NULL ? NULL : mech->mech_name; + request->mech_name = mech->mech_name; request->extra_fields = auth_fields_init(request->pool); return request; }