From fc6588de708ad02306d8a3ce81d97edfc3bb8171 Mon Sep 17 00:00:00 2001 From: Shauleiz Date: Wed, 21 Sep 2016 12:01:28 +0300 Subject: [PATCH] Remove warning --- apps/common/vJoyInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/vJoyInterface.cpp b/apps/common/vJoyInterface.cpp index 29b8d50..d09b58e 100644 --- a/apps/common/vJoyInterface.cpp +++ b/apps/common/vJoyInterface.cpp @@ -3448,7 +3448,7 @@ void CalcInitValue(USHORT id, struct DEVICE_INIT_VALS * data_buf) UCHAR InitValAxis[8] = { 50, 50, 50, 0, 0, 0, 0, 0 }; UCHAR InitValPov[4] = { (UCHAR)-1, (UCHAR)-1, (UCHAR)-1, (UCHAR)-1 }; UCHAR ButtonMask[16] = { 0 }; - int i, j, k; + int i, j; // If ID is NOT 0 then call GetInitValueFromRegistry() and save output buffer in data_buf if (id != 0)