Address some code-analysis issues.
[openssl.git] / crypto / store / loader_file.c
index 00d030217aa4bf0b3282295f77aa3a0b16ab857b..588a5816321f5a776cf245fe53b406b4c2784dcf 100644 (file)
@@ -962,8 +962,8 @@ static OSSL_STORE_INFO *file_load_try_decode(OSSL_STORE_LOADER_CTX *ctx,
                                     ui_method, ui_data);
 
             if (try_matchcount > 0) {
-                if (matching_handlers)
-                    matching_handlers[*matchcount] = handler;
+
+                matching_handlers[*matchcount] = handler;
 
                 if (handler_ctx)
                     handler->destroy_ctx(&handler_ctx);