./src/wcmCommon.c: In function 'sendCommonEvents': ./src/wcmCommon.c:382:2: warning: 'value' may be used uninitialized in this function [-Wuninitialized] ./src/wcmCommon.c:329:22: note: 'value' was declared here
Signed-off-by: Peter Hutterer <[email protected]> --- src/wcmCommon.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/wcmCommon.c b/src/wcmCommon.c index 2811e05..98af256 100644 --- a/src/wcmCommon.c +++ b/src/wcmCommon.c @@ -326,7 +326,7 @@ static int getWheelButton(InputInfoPtr pInfo, const WacomDeviceState* ds, unsigned int **fakeKey) { WacomDevicePtr priv = (WacomDevicePtr) pInfo->private; - int fakeButton = 0, value; + int fakeButton = 0, value = 0; /* emulate events for relative wheel */ if ( ds->relwheel ) -- 1.7.4 ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
