summaryrefslogtreecommitdiff
path: root/apt-pkg/upgrade.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-11-05 18:42:56 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2014-11-08 14:26:00 +0100
commitad5ffe1ffb203eb58e5e25fe6f4c0dabc53253c9 (patch)
tree8f7a58dd95f1fa7fa7061378d2cfa833960791cc /apt-pkg/upgrade.cc
parent9dd940ed722e8235c615e79b7eb688eb427e9a23 (diff)
Division by result of sizeof(). memset() expects a size in bytes
"did you intend to multiply instead?" is what cppcheck helpful says and it is absolutely right. Doesn't make a whole lot of a difference though as we are talking about 'char' in this testcase, but just to be sure. Reported-By: cppcheck Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/upgrade.cc')
0 files changed, 0 insertions, 0 deletions