e...@thyrsus.com said: >> Why didn't any of the other tools notice this? The code isn't particularly >> complicated. > I don't know. It does seem like the sort of error a static analyzer should > spot.
Should we feed them a test case? e...@thyrsus.com said: > The assignment to tvlast doesn't make sense. It's a local variable so goes > away with the return. > Right, I've fixed it. ... Thanks. > That logging code is really dodgy. It's unconditionally disabled in Classic. > I fixed it, because I could, and then later broke it by deleting the tvlast > setting. I should probably just rip it out. > I keep thinking that whenever I look at it, but it's kind of a cute use for > those logging channels and I haven't been able to make myself pull the > trigger yet. I vote to keep it. -- These are my opinions. I hate spam. _______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel