[PATCH] hidclass.sys: fixed copy/paste error (Coverity)

Marcus Meissner marcus at jet.franken.de
Sat Oct 3 02:52:55 CDT 2015


1325460 Identical code for different branches

Signed-off-by: Marcus Meissner <marcus at jet.franken.de>
---
 dlls/hidclass.sys/descriptor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/hidclass.sys/descriptor.c b/dlls/hidclass.sys/descriptor.c
index 6f8e45e..35057f1 100644
--- a/dlls/hidclass.sys/descriptor.c
+++ b/dlls/hidclass.sys/descriptor.c
@@ -414,7 +414,7 @@ void parse_io_feature(unsigned int bSize, int itemVal, int bTag, unsigned int *f
         if ((itemVal & INPUT_ARRAY) == 0)
             feature->isArray= TRUE;
         else
-            feature->isArray= TRUE; /* Var */
+            feature->isArray= FALSE; /* Var */
         if ((itemVal & INPUT_ABS) == 0)
             feature->IsAbsolute = TRUE;
         else
-- 
2.5.2




More information about the wine-patches mailing list