|
From: | David Binderman |
Subject: | [Synaptic-devel] synaptic-0.84.6 bug report |
Date: | Tue, 16 Apr 2019 12:40:47 +0000 |
Hello there,
I have found a couple of examples of pointless code:
1.
[synaptic-0.84.6/wings/rwmainwindow.cc:957]: (style) Checking if unsigned expression 'index' is less than zero.
Source code is
if (index < 0)
index = 0;
but
unsigned int index;
2.
synaptic-0.84.6/wings/rwmainwindow.cc:972]: (style) Checking if unsigned expression 'index' is less than zero.
Duplicate.
Regards
David Binderman
|
[Prev in Thread] | Current Thread | [Next in Thread] |