Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
idnode: coverity fix variable initialization in idnode_filter_init()
  • Loading branch information
perexg committed Oct 3, 2014
1 parent 7544c6e commit 3228f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/idnode.c
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 3228f40

Please sign in to comment.