mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-07-22 02:34:16 +00:00
bluez5: fix uninitialized value warning
This commit is contained in:
parent
97dd95ddec
commit
1efb43b897
|
@ -1834,7 +1834,7 @@ static int impl_node_process(void *object)
|
|||
if (this->position) {
|
||||
this->current_time = this->position->clock.nsec;
|
||||
} else {
|
||||
struct timespec now;
|
||||
struct timespec now = { 0 };
|
||||
spa_system_clock_gettime(this->data_system, CLOCK_MONOTONIC, &now);
|
||||
this->current_time = SPA_TIMESPEC_TO_NSEC(&now);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue