mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
coverity: 62584: init m only inside preprocessor conditional that needs it
This commit is contained in:
parent
60e2c65208
commit
048604751c
1 changed files with 1 additions and 1 deletions
|
@ -1680,8 +1680,8 @@ lws_http_action(struct lws *wsi)
|
|||
wsi->cache_revalidate = hit->cache_revalidate;
|
||||
wsi->cache_intermediaries = hit->cache_intermediaries;
|
||||
|
||||
m = 1;
|
||||
#if defined(LWS_WITH_FILE_OPS)
|
||||
m = 1;
|
||||
if (hit->origin_protocol == LWSMPRO_FILE)
|
||||
m = lws_http_serve(wsi, s, hit->origin, hit);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue