Skip to content

Commit

Permalink
Fix compiler warnings after reverting the bsearch patches
Browse files Browse the repository at this point in the history
  • Loading branch information
lpereira committed Aug 3, 2024
1 parent e693e02 commit 4eb7d8d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib/lwan-request.c
Original file line number Diff line number Diff line change
Expand Up @@ -1738,8 +1738,6 @@ static inline const char *value_lookup(const struct lwan_key_value_array *array,
const char *key)
{
const struct lwan_array *la = (const struct lwan_array *)array;
struct lwan_key_value *base = (struct lwan_key_value *)la->base;
struct lwan_key_value k = { .key = (char *)key };

if (LIKELY(la->elements)) {
struct lwan_key_value k = { .key = (char *)key };
Expand Down

0 comments on commit 4eb7d8d

Please sign in to comment.