]> git.kaiwu.me - nginx.git/commitdiff
Dav: removed dead store after 8e7a5de61664.
authorSergey Kandaurov <pluknet@nginx.com>
Thu, 2 Aug 2018 10:19:48 +0000 (13:19 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Thu, 2 Aug 2018 10:19:48 +0000 (13:19 +0300)
Found by Clang Static Analyzer.

src/http/modules/ngx_http_dav_module.c

index 2d138c15d49897d3d427da14909747cd9c4e20f1..95c7b3299ebbf11dd49e852719e27992549f79ba 100644 (file)
@@ -841,8 +841,6 @@ overwrite_done:
             return NGX_HTTP_INTERNAL_SERVER_ERROR;
         }
 
-        dlcf = ngx_http_get_module_loc_conf(r, ngx_http_dav_module);
-
         cf.size = ngx_file_size(&fi);
         cf.buf_size = 0;
         cf.access = ngx_file_access(&fi);