idnode: coverity fix variable initialization in idnode_filter_init()
This commit is contained in:
parent
7544c6e9b0
commit
3228f400f8
1 changed files with 1 additions and 1 deletions
|
@ -759,7 +759,7 @@ idnode_filter_init
|
|||
p->type == PT_TIME) {
|
||||
int64_t v = f->u.n.n;
|
||||
if (p->intsplit != f->u.n.intsplit) {
|
||||
v = (v / (f->u.n.intsplit <= 0 ? 1 : 0)) * p->intsplit;
|
||||
v = (v / MIN(1, f->u.n.intsplit)) * p->intsplit;
|
||||
f->u.n.n = v;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue