mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
coverity: 62207: we only need to compute the flag if LWS_WITH_SYS_ASYNC_DNS
This commit is contained in:
parent
a6b4bd8bfc
commit
a743a2b234
1 changed files with 3 additions and 0 deletions
|
@ -831,7 +831,10 @@ lws_create_vhost(struct lws_context *context,
|
|||
goto bail1;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(LWS_WITH_SYS_ASYNC_DNS)
|
||||
n = !!context->vhost_list;
|
||||
#endif
|
||||
|
||||
while (1) {
|
||||
if (!(*vh1)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue