[PATCH] winedump: remove double assignment (Coverity)

Marcus Meissner marcus at jet.franken.de
Wed Feb 23 13:45:59 CST 2011


Hi,

len = len was doubled.

Ciao, Marcus
---
 tools/winedump/msc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/winedump/msc.c b/tools/winedump/msc.c
index 950eb59..e56b4aa 100644
--- a/tools/winedump/msc.c
+++ b/tools/winedump/msc.c
@@ -202,7 +202,7 @@ static const char* full_value_string(const struct full_value* fv)
 static int numeric_leaf(int* value, const unsigned short int* leaf)
 {
     struct full_value fv;
-    int len = len = full_numeric_leaf(&fv, leaf);
+    int len = full_numeric_leaf(&fv, leaf);
 
     switch (fv.type)
     {
-- 
1.7.1



More information about the wine-patches mailing list