mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 20:50:41 +00:00
FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_time.c
This commit is contained in:
parent
b765bd46b5
commit
0d73ca2f51
@ -431,7 +431,7 @@ static switch_status_t timerfd_start_interval(interval_timer_t *it, int interval
|
||||
return SWITCH_STATUS_GENERR;
|
||||
}
|
||||
|
||||
if ((r = read(fd, &exp, sizeof(exp)) < 0)) {
|
||||
if ((r = read(fd, &exp, sizeof(exp))) < 0) {
|
||||
close(fd);
|
||||
return SWITCH_STATUS_GENERR;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user