../src/wcmISDV4.c: In function 'wcmSerialValidate': ../src/wcmISDV4.c:167:7: warning: declaration of 'n' shadows a previous local [-Wshadow] ../src/wcmISDV4.c:161:6: warning: shadowed declaration is here [-Wshadow]
Signed-off-by: Jason Gerecke <killert...@gmail.com> --- src/wcmISDV4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wcmISDV4.c b/src/wcmISDV4.c index 892fbff..17f5326 100644 --- a/src/wcmISDV4.c +++ b/src/wcmISDV4.c @@ -164,7 +164,7 @@ static int wcmSerialValidate(InputInfoPtr pInfo, const unsigned char* data) * header byte */ if (!(data[0] & HEADER_BIT)) { - int n = wcmSkipInvalidBytes(data, common->wcmPktLength); + n = wcmSkipInvalidBytes(data, common->wcmPktLength); xf86Msg(X_WARNING, "%s: missing header bit. skipping %d bytes.\n", pInfo->name, n); -- 1.7.10.2 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel