Skip to content

Commit

Permalink
iiod: dns-sd: Fix set-but-not-used value
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Cercueil <[email protected]>
  • Loading branch information
pcercuei committed Apr 9, 2021
1 parent c194e9e commit a5083ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iiod/dns-sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,11 @@ static void start_avahi_thd(struct thread_pool *pool, void *d)
{

struct pollfd pfd[2];
int ret = ENOMEM;
char label[AVAHI_LABEL_MAX];
char host[AVAHI_LABEL_MAX - sizeof(IIOD_ON)];
struct timespec ts;
int ret;

ts.tv_nsec = 0;
ts.tv_sec = 1;

Expand Down

0 comments on commit a5083ed

Please sign in to comment.