1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-12 16:52:01 +00:00

remove unused variables

This commit is contained in:
Alberto Fanjul 2024-07-13 19:09:57 +02:00
parent 210ef327ce
commit 1df6392a23

View file

@ -359,7 +359,6 @@ char *
links_peers_generator (const char *text, int state) links_peers_generator (const char *text, int state)
{ {
static int list_index, len; static int list_index, len;
char *name;
size_t peer_cnt = 0; size_t peer_cnt = 0;
size_t link_cnt = 0; size_t link_cnt = 0;
struct shl_dlist *i, *j; struct shl_dlist *i, *j;
@ -444,7 +443,6 @@ char *
peers_generator (const char *text, int state) peers_generator (const char *text, int state)
{ {
static int list_index, len; static int list_index, len;
char *name;
size_t peer_cnt = 0; size_t peer_cnt = 0;
struct shl_dlist *i, *j; struct shl_dlist *i, *j;
struct ctl_link *l; struct ctl_link *l;
@ -497,7 +495,6 @@ char *
links_generator (const char *text, int state) links_generator (const char *text, int state)
{ {
static int list_index, len; static int list_index, len;
char *name;
size_t link_cnt = 0; size_t link_cnt = 0;
struct shl_dlist *i; struct shl_dlist *i;
struct ctl_link *l; struct ctl_link *l;