-
Committer:
Richard Hughes
-
Author(s):
Moritz Lipp
-
Date:
2014-01-17 19:57:29 UTC
-
Revision ID:
git-v1:4404b960812c935d565ea6411bb3a944cd93348c
Remove suspicious usage of sizeof with a numeric constant
This patch removes the sizeof call around the numeric constant
3*4 that should determine the number of bytes that should
be set via memset. The expected result should be 12 bytes but sizeof
returns the storage size of the filetype (integer) which is 4 bytes.
Suspicious usage of 'sizeof' with a numeric constant as parameter.
Signed-off-by: Richard Hughes <richard@hughsie.com>