We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e23ec9a commit f1ae6adCopy full SHA for f1ae6ad
opentracing/src/ngx_http_opentracing_module.cpp
@@ -253,8 +253,8 @@ static void *create_opentracing_main_conf(ngx_conf_t *conf) noexcept {
253
auto main_conf = static_cast<opentracing_main_conf_t *>(
254
ngx_pcalloc(conf->pool, sizeof(opentracing_main_conf_t)));
255
// Default initialize members.
256
- *main_conf = opentracing_main_conf_t();
257
if (!main_conf) return nullptr;
+ *main_conf = opentracing_main_conf_t();
258
return main_conf;
259
}
260
0 commit comments