simplify code to make compilers happy
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 6 Feb 2014 20:46:29 +0000 (21:46 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Mon, 10 Feb 2014 17:07:50 +0000 (18:07 +0100)
commit6008b79adf1d7ea5607fab87a355d664c8725026
tree2150659195c28b9c03465d55392dacb830a40454
parenta7250ed08e4761dd40870ea7350ca2c83457e890
simplify code to make compilers happy

Does the same as before, but is a bit simpler on the logic for humans as
well as compilers. scan-build complained about it at least with:
"Result of operation is garbage or undefined"

Reported-By: scan-build
apt-pkg/contrib/fileutl.cc