mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
ss: Fix clang build error
When building with clang-15, I got the following error: ``` error: variable 'm' set but not used [-Werror,-Wunused-but-set-variable] int n, m = 0; ^ ``` Let's just remove the `m` variable here, it's not used. Signed-off-by: Ammar Faizi <ammarfaizi2@gnuweeb.org>
This commit is contained in:
parent
a5612fbb9a
commit
dcca7a514d
1 changed files with 1 additions and 2 deletions
|
@ -313,7 +313,7 @@ static int
|
||||||
lws_extract_metadata(lws_ss_handle_t *h, struct lws *wsi)
|
lws_extract_metadata(lws_ss_handle_t *h, struct lws *wsi)
|
||||||
{
|
{
|
||||||
lws_ss_metadata_t *polmd = h->policy->metadata, *omd;
|
lws_ss_metadata_t *polmd = h->policy->metadata, *omd;
|
||||||
int n, m = 0;
|
int n;
|
||||||
|
|
||||||
while (polmd) {
|
while (polmd) {
|
||||||
|
|
||||||
|
@ -410,7 +410,6 @@ lws_extract_metadata(lws_ss_handle_t *h, struct lws *wsi)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
m++;
|
|
||||||
polmd = polmd->next;
|
polmd = polmd->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue