mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-03 06:47:04 -04:00
milan-avb: gptp: initialise ret in the drain loop
This commit is contained in:
parent
21c4c59587
commit
0b09fb2b1e
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ static bool update_ts_refclk(struct gptp *gptp)
|
||||||
uint8_t *cid;
|
uint8_t *cid;
|
||||||
uint8_t *gmid;
|
uint8_t *gmid;
|
||||||
uint8_t tmp;
|
uint8_t tmp;
|
||||||
ssize_t ret;
|
ssize_t ret = 0;
|
||||||
uint16_t data_len;
|
uint16_t data_len;
|
||||||
int avail;
|
int avail;
|
||||||
bool gmid_changed = false;
|
bool gmid_changed = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue