]> sigrok.org Git - pulseview.git/commit
global: Do not assert >= 0 for unsigned values
authorAlexandru Gagniuc <redacted>
Tue, 8 Jan 2013 20:25:56 +0000 (14:25 -0600)
committerAlexandru Gagniuc <redacted>
Tue, 8 Jan 2013 20:46:16 +0000 (14:46 -0600)
commit3f96c34aa5735b72a8c2a48d24ad38b1d9898933
treee0bdba495e22b96480bf8688353b11ab6c0de6ca
parent6092d96f5d3c4c870b6e476237a105b5f037df70
global: Do not assert >= 0 for unsigned values

Unsigned values are always >= 0. These assertions are redundant, so remove them.

$ grep assert -r ./ |grep ">=" |grep 0
shows the assert(something >= 0). Remove those which assert(unsigned >= 0).

Signed-off-by: Alexandru Gagniuc <redacted>
pv/data/logicsnapshot.cpp
pv/view/ruler.cpp