[core,miniupnpc,modules] Fix not used variables

This commit is contained in:
Jakub Karolczyk
2023-07-04 10:12:44 +01:00
parent b355bf21e6
commit 5656972bfe
16 changed files with 18 additions and 63 deletions
+2 -3
View File
@@ -1173,9 +1173,8 @@ SWITCH_MODULE_RUNTIME_FUNCTION(softtimer_runtime)
} else {
if (tfd > -1 && globals.RUNNING == 1) {
uint64_t exp;
int r;
r = read(tfd, &exp, sizeof(exp));
r++;
read(tfd, &exp, sizeof(exp));
(void)exp;
} else {
switch_time_t timediff = runtime.reference - ts;