]> git.saurik.com Git - apt.git/commitdiff
Division by result of sizeof(). memset() expects a size in bytes
authorDavid Kalnischkies <david@kalnischkies.de>
Wed, 5 Nov 2014 17:42:56 +0000 (18:42 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Sat, 8 Nov 2014 13:26:00 +0000 (14:26 +0100)
"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


No differences found