diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-11-05 18:42:56 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-11-08 14:26:00 +0100 |
commit | ad5ffe1ffb203eb58e5e25fe6f4c0dabc53253c9 (patch) | |
tree | 8f7a58dd95f1fa7fa7061378d2cfa833960791cc /apt-pkg/version.h | |
parent | 9dd940ed722e8235c615e79b7eb688eb427e9a23 (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/version.h')
0 files changed, 0 insertions, 0 deletions