forked from external/yambar
module/clock: silence compiler warning: ensure timeout_ms is initialized
This commit is contained in:
parent
e25c42dc87
commit
d645aff48e
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ run(struct module *mod)
|
||||||
.tv_usec = _now.tv_nsec / 1000,
|
.tv_usec = _now.tv_nsec / 1000,
|
||||||
};
|
};
|
||||||
|
|
||||||
int timeout_ms;
|
int timeout_ms = 1000;
|
||||||
|
|
||||||
switch (m->update_granularity) {
|
switch (m->update_granularity) {
|
||||||
case UPDATE_GRANULARITY_SECONDS: {
|
case UPDATE_GRANULARITY_SECONDS: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue