mark count with unused attribute
This may throw a warning with clang-15+ when devel logs are disabled Fixes ../../../xrdp-0.9.19/sesman/chansrv/chansrv.c:198:9: error: variable 'count' set but not used [-Werror,-Wunused-but-set-variable] Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
b4dd86fadd
commit
fc2d61e0c8
@ -197,7 +197,7 @@ check_timeout(void)
|
||||
struct timeout_obj *temp_tobj;
|
||||
int count;
|
||||
tui32 now;
|
||||
|
||||
UNUSED_VAR(count);
|
||||
LOG_DEVEL(LOG_LEVEL_DEBUG, "check_timeout:");
|
||||
count = 0;
|
||||
tobj = g_timeout_head;
|
||||
|
Loading…
Reference in New Issue
Block a user