cppcheck is right that the check for preventing null deference of Query
authorDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 11 Aug 2011 16:42:19 +0000 (18:42 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 11 Aug 2011 16:42:19 +0000 (18:42 +0200)
commitb40b7c380acbdcd84338bdcd253df32f1ef79ed8
tree6d05ff3245c94350618aa6562b3d4a2497db78c0
parentb1660aa192ff24747ac247805eda47b84a9cf933
cppcheck is right that the check for preventing null deference of Query
is redundant in Redirect() as we can't reach the code with null anyway

[apt-pkg/acquire-method.cc:433]: (error) Possible null pointer dereference:
 Queue - otherwise it is redundant to check if Queue is null at line 425
apt-pkg/acquire-method.cc