From: Peter Hutterer Date: Tue, 3 May 2011 07:02:48 +0000 (+1000) Subject: Silence compiler warning X-Git-Url: https://diplodocus.org/git/xorg-xinput/commitdiff_plain/ea0db37521c0fce8599c1838e9a919bb3292d413?hp=ea0db37521c0fce8599c1838e9a919bb3292d413 Silence compiler warning Static analysis claims that ptr += size may assign garbage. But since the protocol requires format to be 8, 16 or 32, size should always have a valid value. Initialize to 0 to shut up clang. Signed-off-by: Peter Hutterer Reviewed-by: Jeremy Huddleston ---