Wine-2.0-rc5 source code (Cppcheck 1.72)

Игорь Чебаненко chebanenkoigor93 at gmail.com
Fri Jan 20 07:00:41 CST 2017


Wine source code scanning with Cppcheck.
-------------- next part --------------
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/crypt_arc4.c:40]: (style) The scope of the variable 'a' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/crypt_arc4.c:64]: (style) The scope of the variable 'a' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/crypt_arc4.c:64]: (style) The scope of the variable 'b' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/cred.c:2025]: (style) The scope of the variable 'c3' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/cred.c:2070]: (style) The scope of the variable 'buflen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/cred.c:2184]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/crypt_md4.c:58]: (style) The scope of the variable 't' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/crypt_md5.c:55]: (style) The scope of the variable 't' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/security.c:3937] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/security.c:3826]: (warning) Either the condition 'NewAcl' is redundant or there is possible null pointer dereference: NewAcl.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/security.c:3938] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/security.c:3826]: (warning) Either the condition 'NewAcl' is redundant or there is possible null pointer dereference: NewAcl.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/security.c:3944] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/security.c:3826]: (warning) Either the condition 'NewAcl' is redundant or there is possible null pointer dereference: NewAcl.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/registry.c:159]: (error, inconclusive) Function parameter is assigned the address of a local auto-variable. Local auto-variables are reserved from the stack which is freed when the function ends. The address is invalid after the function ends and it might 'leak' from the function through the parameter.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/registry.c:225]: (error, inconclusive) Function parameter is assigned the address of a local auto-variable. Local auto-variables are reserved from the stack which is freed when the function ends. The address is invalid after the function ends and it might 'leak' from the function through the parameter.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/eventlog.c:799]: (style) The scope of the variable 'record' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/eventlog.c:1056]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/eventlog.c:1057]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/eventlog.c:74]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/eventlog.c:648]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/eventlog.c:1114]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/eventlog.c:1171]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/eventlog.c:1178]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/eventlog.c:1182]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/eventlog.c:1186]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/eventlog.c:1191]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/eventlog.c:1197]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/eventlog.c:1203]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/eventlog.c:1211]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/eventlog.c:1225]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/registry.c:1961] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/registry.c:1962]: (performance) Buffer 'expectbuffer' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/registry.c:1984] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/registry.c:1985]: (performance) Buffer 'expectbuffer' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/registry.c:1995] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/registry.c:1996]: (performance) Buffer 'expectbuffer' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/registry.c:1879]: (warning, inconclusive) Multiplying sizeof() with sizeof() indicates a logic error.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/registry.c:1893]: (warning, inconclusive) Multiplying sizeof() with sizeof() indicates a logic error.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/registry.c:1909]: (warning, inconclusive) Multiplying sizeof() with sizeof() indicates a logic error.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/registry.c:1915]: (warning, inconclusive) Multiplying sizeof() with sizeof() indicates a logic error.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/registry.c:2812]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/service.c:2084]: (warning, inconclusive) Multiplying sizeof() with sizeof() indicates a logic error.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/service.c:2114]: (warning, inconclusive) Multiplying sizeof() with sizeof() indicates a logic error.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:391] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:400]: (warning) Either the condition 'if(psid)' is redundant or there is possible null pointer dereference: pisid.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:392] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:400]: (warning) Either the condition 'if(psid)' is redundant or there is possible null pointer dereference: pisid.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:393] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:400]: (warning) Either the condition 'if(psid)' is redundant or there is possible null pointer dereference: pisid.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:394] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:400]: (warning) Either the condition 'if(psid)' is redundant or there is possible null pointer dereference: pisid.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:395] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:400]: (warning) Either the condition 'if(psid)' is redundant or there is possible null pointer dereference: pisid.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:396] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:400]: (warning) Either the condition 'if(psid)' is redundant or there is possible null pointer dereference: pisid.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:1534] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:1550]: (performance) Variable 'err' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:1550] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:1566]: (performance) Variable 'err' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:2098]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:1942]: (style) union member '_MAX_SID::max' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:1433]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:1487]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:1490]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:1492]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:1503]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:1506]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:1508]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:1519]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:1522]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:1604]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:1607]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:1609]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:1620]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:1623]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:2958]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:2966]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:3582]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:3662]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:3882]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:4539]: (style) Variable 'sd' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:5051]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:5091]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:5248]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:5250]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:5305]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:5307]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:5592]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:6254]: (style) Variable 'buffer1' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:6254]: (style) Variable 'buffer2' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:6405]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/advapi32/tests/security.c:6407]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/atl/atl.c:675] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/atl/atl.c:678]: (performance) Buffer 'ptr' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/atl/atl30.c:115]: (style) The scope of the variable 'tmp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/atl100/tests/atl.c:816]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/atl100/tests/atl.c:924]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/avifil32/editstream.c:770]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/avifil32/tests/api.c:691] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/avifil32/tests/api.c:695]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/avifil32/tests/api.c:697] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/avifil32/tests/api.c:701]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/avifil32/tests/api.c:726] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/avifil32/tests/api.c:730]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/avifil32/tests/api.c:703]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:195] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:199]: (performance) Variable 'size' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:199] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:204]: (performance) Variable 'len' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:302] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:306]: (performance) Variable 'size' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:306] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:311]: (performance) Variable 'len' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:409] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:413]: (performance) Variable 'size' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:413] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:418]: (performance) Variable 'len' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:518] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:522]: (performance) Variable 'size' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:522] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:527]: (performance) Variable 'len' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:626] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:630]: (performance) Variable 'size' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:630] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:635]: (performance) Variable 'len' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:115]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/browseui/tests/autocomplete.c:256]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:852]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:941]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/bcrypt/tests/bcrypt.c:1032]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/cabinet/fci.c:356]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/cabinet/fdi.c:212]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/cabinet/fdi.c:538]: (style) The scope of the variable 'header_resv' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/cabinet/fdi.c:538]: (style) The scope of the variable 'folder_resv' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/cabinet/fdi.c:541]: (style) The scope of the variable 'block_resv' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/cabinet/fdi.c:1624]: (style) The scope of the variable 'this_run' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/comboex.c:869]: (style) The scope of the variable 'item2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/comboex.c:909]: (style) The scope of the variable 'item2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/comboex.c:181]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/datetime.c:846]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/dpa.c:270]: (style) The scope of the variable 'pWork1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/dpa.c:270]: (style) The scope of the variable 'pWork2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/dpa.c:679]: (style) The scope of the variable 'lpSrc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/datetime.c:809]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/header.c:1331]: (style) The scope of the variable 'lpItem' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/header.c:1631]: (style) The scope of the variable 'lpItem' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/ipaddress.c:456]: (style) The scope of the variable 'start' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/ipaddress.c:456]: (style) The scope of the variable 'end' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/imagelist.c:3755]: (style) Variable 'valid' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/imagelist.c:1512]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/listview.c:4243] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/listview.c:4268]: (warning) Either the condition 'if(lpItem&&!isNew&&infoPtr.bDoChangeNotify)' is redundant or there is possible null pointer dereference: lpItem.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/listview.c:4246] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/listview.c:4268]: (warning) Either the condition 'if(lpItem&&!isNew&&infoPtr.bDoChangeNotify)' is redundant or there is possible null pointer dereference: lpItem.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/listview.c:4249] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/listview.c:4268]: (warning) Either the condition 'if(lpItem&&!isNew&&infoPtr.bDoChangeNotify)' is redundant or there is possible null pointer dereference: lpItem.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/listview.c:4252] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/listview.c:4268]: (warning) Either the condition 'if(lpItem&&!isNew&&infoPtr.bDoChangeNotify)' is redundant or there is possible null pointer dereference: lpItem.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/listview.c:2890]: (style) The scope of the variable 'lpSubItem' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/listview.c:3082]: (style) The scope of the variable 'prev' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/listview.c:3199]: (style) The scope of the variable 'chkrng' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/listview.c:4406]: (style) The scope of the variable 'tmpSubItem' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/listview.c:5660]: (style) The scope of the variable 'lpDelItem' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/listview.c:5818]: (style) The scope of the variable 'hdrItem' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/listview.c:7659]: (style) The scope of the variable 'pRect' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/listview.c:7827]: (style) The scope of the variable 'item_s' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/listview.c:9294]: (style) The scope of the variable 'lpItem' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/monthcal.c:1071]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/monthcal.c:1507]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/monthcal.c:2285]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/monthcal.c:2575]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/propsheet.c:3181]: (style) The scope of the variable 'nLength' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/propsheet.c:94]: (style) struct member 'MyDLGITEMTEMPLATEEX::cx' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/propsheet.c:95]: (style) struct member 'MyDLGITEMTEMPLATEEX::cy' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/rebar.c:687]: (style) The scope of the variable 'lpBand' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/rebar.c:1372]: (style) The scope of the variable 'lpBand' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/rebar.c:1489]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/rebar.c:1589]: (style) The scope of the variable 'tBand' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/rebar.c:2763]: (style) The scope of the variable 'lpBand' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/rebar.c:2944]: (style) The scope of the variable 'lpBand' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/rebar.c:3437]: (style) The scope of the variable 'lpBand' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/rebar.c:3214]: (style) Variable 'theme' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/smoothscroll.c:74]: (style) Variable 'tmprect' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/status.c:322]: (style) The scope of the variable 'r' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/status.c:738]: (style) The scope of the variable 'idx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/rebar.c:1406]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/rebar.c:2037]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/rebar.c:3114]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/syslink.c:491]: (style) The scope of the variable 'n' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/syslink.c:832]: (style) The scope of the variable 'n' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tab.c:3137]: (style) The scope of the variable 'idx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/syslink.c:1173]: (style) The scope of the variable 'n' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/syslink.c:1375]: (style) The scope of the variable 'Old' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/syslink.c:1453]: (style) The scope of the variable 'OldFocus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:51] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:41]: (style) Variable 'id' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/button.c:117] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:41]: (style) Function argument 'id' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/button.c:469] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:33]: (style) Function argument 'parent' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/button.c:534] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:33]: (style) Variable 'parent' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/listview.c:2575]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/listview.c:4679]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/header.c:1564]: (warning) Return value of function rand() is not used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/header.c:1574]: (warning) Return value of function rand() is not used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/header.c:1583]: (warning) Return value of function rand() is not used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/header.c:492]: (style) The scope of the variable 'retVal' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/header.c:493]: (style) The scope of the variable 'loopcnt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/imagelist.c:1636] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/imagelist.c:1642]: (performance) Buffer 'loc' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/imagelist.c:1636] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/imagelist.c:1657]: (performance) Buffer 'loc' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/listview.c:683] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:33]: (style) Function argument 'parent' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/imagelist.c:207]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/imagelist.c:210]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/listview.c:1797]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/misc.c:287]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/monthcal.c:906]: (style) The scope of the variable 'res' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/monthcal.c:906]: (style) The scope of the variable 'fday' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/monthcal.c:906]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/monthcal.c:906]: (style) The scope of the variable 'prev' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/monthcal.c:1234]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/monthcal.c:1239]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/monthcal.c:1841]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/monthcal.c:1846]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/monthcal.c:1847]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/monthcal.c:1848]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/monthcal.c:1849]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/propsheet.c:54] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:35]: (style) Function argument 'lparam' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/propsheet.c:86] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:35]: (style) Function argument 'lparam' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/propsheet.c:85] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:34]: (style) Function argument 'wparam' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/propsheet.c:205] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:35]: (style) Function argument 'lparam' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/propsheet.c:273] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:35]: (style) Function argument 'lparam' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/propsheet.c:273] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:34]: (style) Function argument 'wparam' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/propsheet.c:340] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:39]: (style) Variable 'hook' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/propsheet.c:519] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:35]: (style) Function argument 'lparam' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/propsheet.c:519] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:34]: (style) Function argument 'wparam' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/syslink.c:164] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:33]: (style) Function argument 'parent' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/tab.c:807] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:35]: (style) Variable 'lparam' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/tab.c:1287] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:35]: (style) Variable 'lparam' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/toolbar.c:2180]: (style) The scope of the variable 'ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/toolbar.c:1210]: (style) struct member 'tbsize_alt_result_t::test_num' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/toolbar.c:1211]: (style) struct member 'tbsize_alt_result_t::rect_index' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/toolbar.c:2215]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/trackbar.c:460] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:33]: (style) Function argument 'parent' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/trackbar.c:478] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:33]: (style) Function argument 'parent' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/treeview.c:1782] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:33]: (style) Variable 'parent' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/treeview.c:2002] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:33]: (style) Variable 'parent' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/treeview.c:2007] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/msg.h:33]: (style) Function argument 'parent' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/treeview.c:530] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/treeview.c:539]: (performance) Buffer 'buf' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/treeview.c:1995]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tests/treeview.c:2312]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/theme_combo.c:180]: (style) The scope of the variable 'buttonState' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/tooltips.c:1908]: (style) The scope of the variable 'toolPtr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/toolbar.c:613]: (style) The scope of the variable 'oldBkMode' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/toolbar.c:2050]: (style) The scope of the variable 'btnInfo' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/trackbar.c:340]: (style) The scope of the variable 'width' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/trackbar.c:340]: (style) The scope of the variable 'height' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/trackbar.c:141]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/trackbar.c:997]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/toolbar.c:256]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/treeview.c:4809]: (style) The scope of the variable 'gap_size' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/updown.c:623]: (style) The scope of the variable 'x' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/updown.c:623]: (style) The scope of the variable 'width' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/updown.c:421]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/updown.c:431]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/updown.c:434]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/updown.c:443]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/updown.c:446]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/updown.c:722]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:150]: (style) The scope of the variable 'iresult' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:266]: (style) The scope of the variable 'dx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:266]: (style) The scope of the variable 'dy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:266]: (style) The scope of the variable 'x' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:266]: (style) The scope of the variable 'y' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:299]: (style) The scope of the variable 'dx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:299]: (style) The scope of the variable 'dy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:299]: (style) The scope of the variable 'x' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:299]: (style) The scope of the variable 'y' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:400]: (style) The scope of the variable 'editpos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:467]: (style) The scope of the variable 'temp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:470]: (style) The scope of the variable 'height' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:471]: (style) The scope of the variable 'oben' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:639]: (style) The scope of the variable 'lum' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:639]: (style) The scope of the variable 'ldif' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:639]: (style) The scope of the variable 'ydif' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:787]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:787]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:955]: (style) The scope of the variable 'r' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:955]: (style) The scope of the variable 'g' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:955]: (style) The scope of the variable 'b' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/colordlg.c:1192]: (style) The scope of the variable 'res' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/filedlg.c:972]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/filedlg.c:2246]: (style) The scope of the variable 'old_mru_slot' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/filedlg.c:2961]: (style) The scope of the variable 'nFilterIndexCB' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/filedlg.c:3119]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/filedlg.c:3142]: (style) The scope of the variable 'iPos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/filedlg.c:3585]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/filedlg.c:3615]: (style) The scope of the variable 'iPos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/filedlg.c:1735]: (style) Variable 'handledPath' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/filedlg.c:3902]: (style) Variable 'hRes' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/filedlg31.c:196]: (style) The scope of the variable 'scptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/treeview.c:327]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/treeview.c:2638]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comctl32/treeview.c:2644]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/finddlg.c:214]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/finddlg.c:215]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/finddlg.c:223]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/finddlg.c:230]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/finddlg.c:391]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/fontdlg.c:419]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/fontdlg.c:582]: (style) The scope of the variable 'cs' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/fontdlg.c:623]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/fontdlg.c:625]: (style) The scope of the variable 'pstyle' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/fontdlg.c:814]: (style) The scope of the variable 'nFontType' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/fontdlg.c:815]: (style) The scope of the variable 'idx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/fontdlg.c:941]: (style) The scope of the variable 'l' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/fontdlg.c:1130]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/fontdlg.c:1201]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/filedlg.c:990] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/filedlg.c:1001]: (performance) Buffer 'filename_buf' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/filedlg.c:333]: (style) The scope of the variable 'ctrlids' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/printdlg.c:1469]: (style) The scope of the variable 'pdn' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/printdlg.c:1470]: (style) The scope of the variable 'pdm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/printdlg.c:1471]: (style) The scope of the variable 'name' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/filedlg.c:335]: (style) The scope of the variable 'nrctrls' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/printdlg.c:1577]: (style) The scope of the variable 'pdn' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/printdlg.c:1579]: (style) The scope of the variable 'name' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/printdlg.c:3308]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/filedlg.c:695]: (style) The scope of the variable 'fixhelp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/itemdlg.c:864]: (style) The scope of the variable 'c' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/filedlg.c:471]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/filedlg.c:1178]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/filedlg.c:1180]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/filedlg.c:1182]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/filedlg.c:1209]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/filedlg.c:1211]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/filedlg.c:1213]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/filedlg.c:1254]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/filedlg.c:1266]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/printdlg.c:1118]: (style) Variable 'dmSize' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/printdlg.c:1325]: (style) Variable 'dmSize' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/itemdlg.c:457]: (style) Variable 'cur_point' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/printdlg.c:139]: (style) The scope of the variable 'dm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/printdlg.c:219]: (style) Variable 'ptr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/itemdlg.c:418]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/itemdlg.c:493]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/itemdlg.c:919]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/comdlg32/tests/itemdlg.c:1086]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/compobj.dll16/compobj.c:69]: (style) Variable 'QueryInterface' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/compobj.dll16/compobj.c:70]: (style) Variable 'AddRef' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/compobj.dll16/compobj.c:71]: (style) Variable 'Release' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/compobj.dll16/compobj.c:73]: (style) Variable 'Alloc' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/compobj.dll16/compobj.c:74]: (style) Variable 'Realloc' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/compobj.dll16/compobj.c:75]: (style) Variable 'Free' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/compobj.dll16/compobj.c:76]: (style) Variable 'GetSize' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/compobj.dll16/compobj.c:77]: (style) Variable 'DidAlloc' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/compobj.dll16/compobj.c:78]: (style) Variable 'HeapMinimize' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/collectionstore.c:167]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/cert.c:1025]: (style) The scope of the variable 'containerA' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/cert.c:1261]: (style) The scope of the variable 'pblob1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/cert.c:1261]: (style) The scope of the variable 'pblob2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/cert.c:2116]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:448]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:478]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:566]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:722]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:814]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:1122]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:1376]: (style) Variable 'CryptMemFree' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:1465]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:1651]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:1681]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:1859]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:1889]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:1914]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:1980]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:2290]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:2364]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:2555]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:2637]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:2692]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:2773]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:2812]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:2848]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:3134]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:3179]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:3227]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:3295]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:3334]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:3432]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:3501]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:3579]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:3627]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:3657]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:3705]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:3848]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:3914]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:4003]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:4214]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/encode.c:4303]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/filestore.c:269]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:947] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:957]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:1102] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:1112]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:1175] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:1185]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:1233] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:1238]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:1889] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:1896]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:1986] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:1993]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:2193] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:2199]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:2227] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:2237]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:4052] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:4053]: (performance) Buffer 'vardata' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:5359] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:5371]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:5380] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:5391]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:903]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:1094]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:1292]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:1472]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:1607]: (style) Variable 'str' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:1665]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:1848]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:1944]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:2041]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:2302]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:2368]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:2412]: (style) Variable 'str' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:2624]: (style) Variable 'str' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:2708]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:2799]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:2847]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:2937]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:3159]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:3196]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:3248]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:3439]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:3540]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:3569]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:3667]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:3723]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:3853]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:3933]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:4076]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:4179]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:4291]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:4380]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:4473]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:4574]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:4642]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:4957]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:5064]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:5189]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:5221]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:5265]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:5422]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:5544]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/decode.c:5710]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/object.c:956]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/object.c:2326]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/oid.c:287]: (style) The scope of the variable 'funcName' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/regstore.c:532]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/sip.c:83] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/sip.c:90]: (performance) Variable 'r' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/rootstore.c:375]: (portability) Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/store.c:484]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/store.c:587]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/store.c:603]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/store.c:743]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/tests/base64.c:351]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/tests/base64.c:408]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/tests/chain.c:3893]: (style) The scope of the variable 'chain_elem' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/tests/chain.c:4507]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/tests/main.c:333]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/tests/msg.c:2353]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/tests/msg.c:2365]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/tests/msg.c:2395]: (style) Variable 'check_updates' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/tests/msg.c:3485]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/tests/store.c:2087] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/tests/store.c:2088]: (performance) Variable 'store' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/crypt32/tests/store.c:452]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/cryptdlg/main.c:287] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/cryptdlg/main.c:291]: (performance) Variable 'hRestrictedRoot' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ctapi32/ctapi32.c:46]: (style) The scope of the variable 'buffer' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/cryptui/main.c:1237]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/cryptui/main.c:2050]: (style) The scope of the variable 'any_app_policy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/cryptui/main.c:2109]: (style) The scope of the variable 'any_cert_policy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/cryptui/main.c:3598]: (style) The scope of the variable 'page' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/brush.c:779]: (style) The scope of the variable 'bitmap_brush_cb' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/brush.c:780]: (style) The scope of the variable 'color' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/hwnd_render_target.c:793]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/hwnd_render_target.c:840]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/geometry.c:312]: (style) The scope of the variable 'a_curr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/geometry.c:659]: (style) The scope of the variable 'temp8' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/geometry.c:660]: (style) The scope of the variable 'temp4a' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/geometry.c:660]: (style) The scope of the variable 'temp4b' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/geometry.c:660]: (style) The scope of the variable 'temp2a' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/geometry.c:660]: (style) The scope of the variable 'temp2b' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/geometry.c:1367]: (style) The scope of the variable 'current_destination' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/geometry.c:1367]: (style) The scope of the variable 'current_origin' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/geometry.c:1424]: (style) The scope of the variable 'start_vertex' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/tests/d2d1.c:151]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/tests/d2d1.c:152]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/tests/d2d1.c:1915] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/tests/d2d1.c:1923]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/tests/d2d1.c:1923] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/tests/d2d1.c:1931]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/tests/d2d1.c:256]: (style) The scope of the variable 'span' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/tests/d2d1.c:1647]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/tests/d2d1.c:1657]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/tests/d2d1.c:1669]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/tests/d2d1.c:1931]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d2d1/tests/d2d1.c:3339]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10/stateblock.c:617]: (warning, inconclusive) Division of result of sizeof() on pointer type. sizeof() returns the size of the pointer, not the size of the memory area it points to.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10/stateblock.c:889]: (warning, inconclusive) Division of result of sizeof() on pointer type. sizeof() returns the size of the pointer, not the size of the memory area it points to.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10/stateblock.c:912]: (warning, inconclusive) Division of result of sizeof() on pointer type. sizeof() returns the size of the pointer, not the size of the memory area it points to.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10/effect.c:1288]: (style) The scope of the variable 'property_info' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10_1/tests/d3d10_1.c:149]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10core/tests/device.c:88]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10core/tests/device.c:89]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/inputlayout.c:50]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10core/tests/device.c:7647]: (style) struct member 'Anonymous20::color' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10core/tests/device.c:9994]: (style) struct member 'Anonymous26::color' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10core/tests/device.c:3726]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10core/tests/device.c:3728]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10core/tests/device.c:3735]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10core/tests/device.c:3924]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10core/tests/device.c:3926]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10core/tests/device.c:4774]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10core/tests/device.c:4844]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10core/tests/device.c:4845]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10core/tests/device.c:7831]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10core/tests/device.c:8175]: (style) Variable 'check_texture_color_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10core/tests/device.c:8237]: (style) Variable 'check_texture_color_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d10core/tests/device.c:9966]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/utils.c:686]: (style) The scope of the variable 'entry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:106]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:107]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/device.c:1097] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/device.c:1080]: (warning) Either the condition 'src_rects' is redundant or there is possible null pointer dereference: src_rects.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/device.c:1098] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/device.c:1080]: (warning) Either the condition 'src_rects' is redundant or there is possible null pointer dereference: src_rects.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/device.c:1175]: (style) The scope of the variable 'original_rtv' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/device.c:1176]: (style) The scope of the variable 'original_surface' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/device.c:2289]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:8923]: (style) struct member 'Anonymous20::color' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:11321]: (style) struct member 'Anonymous31::color' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:1369]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:1960]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:1992]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:2232]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:2260]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:2534]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:2554]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:4704]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:4706]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:4714]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:4908]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:4910]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:8135]: (style) Variable 'check_texture_color_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:8142]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:8489]: (style) Variable 'check_texture_color_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:8558]: (style) Variable 'check_texture_color_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:11210]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:11279]: (style) Variable 'check_texture_color_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d11/tests/d3d11.c:12652]: (style) Variable 'check_texture_uvec4_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/device.c:1284] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/device.c:1284]: (style) Finding the same expression on both sides of an operator is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/device.c:4816]: (style) The scope of the variable 'base' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/device.c:2440]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/device.c:7926]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/device.c:7929]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/device.c:7932]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/device.c:7936]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/device.c:7939]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/device.c:7942]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:4289] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:4292]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:4424] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:4427]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:5383] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:5384]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:5445] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:5447]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:5172]: (style) The scope of the variable 'mem' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:6609]: (style) The scope of the variable 'width' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:6609]: (style) The scope of the variable 'height' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:6609]: (style) The scope of the variable 'depth' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:928]: (style) struct member 'Anonymous6::rhw' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:2950]: (style) struct member 'Anonymous13::s' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:2950]: (style) struct member 'Anonymous13::t' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:3567]: (style) struct member 'Anonymous19::s0' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:3567]: (style) struct member 'Anonymous19::t0' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:3567]: (style) struct member 'Anonymous19::p0' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:3568]: (style) struct member 'Anonymous19::s1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:3568]: (style) struct member 'Anonymous19::t1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:3568]: (style) struct member 'Anonymous19::p1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:3568]: (style) struct member 'Anonymous19::q1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:3918]: (style) struct member 'Anonymous22::s0' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:3918]: (style) struct member 'Anonymous22::t0' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:3918]: (style) struct member 'Anonymous22::p0' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:3919]: (style) struct member 'Anonymous22::s1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:3919]: (style) struct member 'Anonymous22::t1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:3919]: (style) struct member 'Anonymous22::p1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:3919]: (style) struct member 'Anonymous22::q1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:4207]: (style) struct member 'Anonymous24::s0' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:4207]: (style) struct member 'Anonymous24::t0' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:4207]: (style) struct member 'Anonymous24::p0' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:4208]: (style) struct member 'Anonymous24::s1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:4208]: (style) struct member 'Anonymous24::t1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:4208]: (style) struct member 'Anonymous24::p1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:4208]: (style) struct member 'Anonymous24::q1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d8/tests/visual.c:6690]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/device.c:643]: (style) The scope of the variable 'wined3d_swapchain' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/device.c:2678]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/device.c:3927]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/d3d9ex.c:3272]: (style) The scope of the variable 'device' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/d3d9ex.c:737]: (style) struct member 'Anonymous1::x' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/d3d9ex.c:737]: (style) struct member 'Anonymous1::y' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/d3d9ex.c:737]: (style) struct member 'Anonymous1::z' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/d3d9ex.c:738]: (style) struct member 'Anonymous1::u' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/d3d9ex.c:738]: (style) struct member 'Anonymous1::v' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/d3d9ex.c:3616]: (style) struct member 'Anonymous5::position' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/d3d9ex.c:2475]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/d3d9ex.c:3322]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/d3d9ex.c:3337]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/d3d9ex.c:3392]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/d3d9ex.c:3423]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/d3d9ex.c:3668]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/device.c:4507]: (style) The scope of the variable 'device' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/device.c:7147]: (style) The scope of the variable 'expected_pitch' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/device.c:7309]: (style) The scope of the variable 'base' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/device.c:2812]: (style) struct member 'Anonymous3::position' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/device.c:3385]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/device.c:4557]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/device.c:4573]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/device.c:4614]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/device.c:11141]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/device.c:11144]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/device.c:11147]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/device.c:11151]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/device.c:11154]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/device.c:11157]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/bytecodewriter.c:218]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/bytecodewriter.c:265]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:4720] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:4721]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:14305] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:14307]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:14359] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:14361]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:17454] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:17455]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:17516] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:17518]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:3528]: (style) The scope of the variable 'mem' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:15531]: (style) The scope of the variable 'block' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:19783]: (style) The scope of the variable 'width' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:19783]: (style) The scope of the variable 'height' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:19783]: (style) The scope of the variable 'depth' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:1712]: (style) struct member 'Anonymous10::rhw' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:4066]: (style) struct member 'Anonymous18::t' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7223]: (style) struct member 'Anonymous21::pos_x' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7223]: (style) struct member 'Anonymous21::pos_y' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7223]: (style) struct member 'Anonymous21::pos_z' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7223]: (style) struct member 'Anonymous21::rhw' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7224]: (style) struct member 'Anonymous21::weight_1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7224]: (style) struct member 'Anonymous21::weight_2' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7224]: (style) struct member 'Anonymous21::weight_3' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7224]: (style) struct member 'Anonymous21::weight_4' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7225]: (style) struct member 'Anonymous21::index_1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7225]: (style) struct member 'Anonymous21::index_2' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7225]: (style) struct member 'Anonymous21::index_3' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7225]: (style) struct member 'Anonymous21::index_4' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7226]: (style) struct member 'Anonymous21::normal_1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7226]: (style) struct member 'Anonymous21::normal_2' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7226]: (style) struct member 'Anonymous21::normal_3' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7226]: (style) struct member 'Anonymous21::normal_4' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7227]: (style) struct member 'Anonymous21::fog_1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7227]: (style) struct member 'Anonymous21::fog_2' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7227]: (style) struct member 'Anonymous21::fog_3' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7227]: (style) struct member 'Anonymous21::fog_4' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7228]: (style) struct member 'Anonymous21::texcoord_1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7228]: (style) struct member 'Anonymous21::texcoord_2' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7228]: (style) struct member 'Anonymous21::texcoord_3' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7228]: (style) struct member 'Anonymous21::texcoord_4' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7229]: (style) struct member 'Anonymous21::tangent_1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7229]: (style) struct member 'Anonymous21::tangent_2' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7229]: (style) struct member 'Anonymous21::tangent_3' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7229]: (style) struct member 'Anonymous21::tangent_4' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7230]: (style) struct member 'Anonymous21::binormal_1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7230]: (style) struct member 'Anonymous21::binormal_2' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7230]: (style) struct member 'Anonymous21::binormal_3' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7230]: (style) struct member 'Anonymous21::binormal_4' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7231]: (style) struct member 'Anonymous21::depth_1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7231]: (style) struct member 'Anonymous21::depth_2' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7231]: (style) struct member 'Anonymous21::depth_3' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7231]: (style) struct member 'Anonymous21::depth_4' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/compiler.c:81]: (style) The scope of the variable 'rc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/compiler.c:151]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/compiler.c:399]: (style) The scope of the variable 'pos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/compiler.c:575]: (style) The scope of the variable 'res' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/compiler.c:600]: (style) The scope of the variable 'pos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:11938]: (style) struct member 'Anonymous37::t' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:14131]: (style) struct member 'Anonymous55::t' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:14131]: (style) struct member 'Anonymous55::p' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:14131]: (style) struct member 'Anonymous55::q' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:14467]: (style) struct member 'Anonymous58::t' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:14467]: (style) struct member 'Anonymous58::p' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:14467]: (style) struct member 'Anonymous58::q' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:15059]: (style) struct member 'Anonymous64::u' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:15327]: (style) struct member 'Anonymous66::u' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/reflection.c:213]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:15469]: (style) struct member 'Anonymous68::u' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:16026]: (style) struct member 'Anonymous72::t' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:16026]: (style) struct member 'Anonymous72::p' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:16026]: (style) struct member 'Anonymous72::q' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:1458]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:7353]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3d9/tests/visual.c:19864]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/tests/hlsl.c:28]: (style) struct member 'vertex::tx' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/tests/hlsl.c:28]: (style) struct member 'vertex::ty' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/tests/reflection.c:899]: (style) The scope of the variable 'pdesc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/tests/reflection.c:1227]: (style) The scope of the variable 'pcbdesc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/tests/reflection.c:1228]: (style) The scope of the variable 'pvdesc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/tests/reflection.c:1229]: (style) The scope of the variable 'ptdesc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/utils.c:725]: (style) The scope of the variable 'rc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/utils.c:907]: (style) The scope of the variable 't1field' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/utils.c:907]: (style) The scope of the variable 't2field' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/utils.c:1768]: (style) The scope of the variable 't1field' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/utils.c:1768]: (style) The scope of the variable 't2field' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/utils.c:1769]: (style) The scope of the variable 'r' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/utils.c:1804]: (style) The scope of the variable 'r' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/utils.c:2277]: (style) The scope of the variable 'field' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/utils.c:2277]: (style) The scope of the variable 'next_field' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dcompiler_43/utils.c:2456]: (style) The scope of the variable 'old_entry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/d3drm.c:1512]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/frame.c:184]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/frame.c:302]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/frame.c:421]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/frame.c:1694]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/meshbuilder.c:2514]: (style) The scope of the variable 'nb_indices' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:2401] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:2402]: (performance) Variable 'd3drm_img' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:2425] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:2426]: (performance) Variable 'd3drm_img' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:2532] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:2547]: (performance) Variable 'd3drm_img' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:2558] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:2572]: (performance) Variable 'd3drm_img' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:3787] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:3864]: (performance) Variable 'use_sysmem_zbuffer' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:3959] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:4042]: (performance) Variable 'use_sysmem_zbuffer' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:4141] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:4224]: (performance) Variable 'use_sysmem_zbuffer' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:6116] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:6118]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:5516]: (style) The scope of the variable 'd3drm_img' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:5520]: (style) The scope of the variable 'filename' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx10_43/tests/d3dx10.c:27]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx10_43/tests/d3dx10.c:28]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx10_43/tests/d3dx10.c:483]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx10_43/tests/d3dx10.c:484]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:713]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:718]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:769]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:774]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:818]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:2011]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3drm/tests/d3drm.c:4678]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/effect.c:790]: (style) The scope of the variable 'temp_parameter' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/effect.c:831]: (style) The scope of the variable 'temp_parameter' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/effect.c:875]: (style) The scope of the variable 'temp_parameter' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/effect.c:3684]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:4801] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:4742]: (style, inconclusive) The variable 'face' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:4982] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:4742]: (style, inconclusive) The variable 'face' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:5772] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:4742]: (style, inconclusive) The variable 'face' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:5794] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:4742]: (style, inconclusive) The variable 'face' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:6284] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:6292]: (performance) Variable 'x' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:6285] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:6293]: (performance) Variable 'y' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:6295] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:6297]: (performance) Variable 'z' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:4567]: (style) The scope of the variable 'adjacency_buf' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:4655]: (style) The scope of the variable 'adjacency_buf' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:4800]: (style) The scope of the variable 'sin_theta' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:4800]: (style) The scope of the variable 'cos_theta' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:5203]: (style) The scope of the variable 'phi' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:5204]: (style) The scope of the variable 'sin_theta' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:5204]: (style) The scope of the variable 'cos_theta' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/preshader.c:649]: (portability) Casting between integer* and double* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/preshader.c:249]: (style) The scope of the variable 'block_idx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/preshader.c:335]: (style) The scope of the variable 'n' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/preshader.c:566]: (style) The scope of the variable 'xyzw_str' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/preshader.c:588]: (style) The scope of the variable 'table' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/preshader.c:964]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/preshader.c:1178]: (style) The scope of the variable 'count' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/preshader.c:1179]: (style) The scope of the variable 'ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/shader.c:833]: (style) The scope of the variable 'c' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/shader.c:854]: (style) The scope of the variable 'c' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/skin.c:349]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/asm.c:197]: (style) The scope of the variable 'shader3_vsh_path' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/asm.c:446]: (style) The scope of the variable 'shader3_vsh_path' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/surface.c:1502]: (style) The scope of the variable 'dst_addr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/surface.c:1503]: (style) The scope of the variable 'src_addr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/core.c:1181]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/core.c:1184]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/core.c:1187]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:748]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:5267]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:5268]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:5269]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:5274]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/mesh.c:5275]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/effect.c:29]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/effect.c:4048]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/effect.c:4181]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/effect.c:2905] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/effect.c:2910]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/effect.c:2920] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/effect.c:2921]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/effect.c:4065] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/effect.c:4069]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/effect.c:2872]: (style) The scope of the variable 'byte_code' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/math.c:2680]: (style) The scope of the variable 'received_ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/math.c:2781]: (style) The scope of the variable 'startindex' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/math.c:3398]: (style) The scope of the variable 'received_array' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:2545] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:102]: (style, inconclusive) The variable 'face' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:2862] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:102]: (style, inconclusive) The variable 'face' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:3077] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:102]: (style, inconclusive) The variable 'face' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:599]: (style) Suspicious expression. Boolean result is used in bitwise operation. The operator '!' and the comparison operators have higher precedence than bitwise operators. It is recommended that the expression is clarified with parentheses.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1667]: (error) Possible null pointer dereference: got
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1668]: (error) Possible null pointer dereference: got
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1670]: (error) Possible null pointer dereference: got
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1671]: (error) Possible null pointer dereference: got
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1672]: (error) Possible null pointer dereference: got
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1673]: (error) Possible null pointer dereference: got
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1674]: (error) Possible null pointer dereference: got
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1675]: (error) Possible null pointer dereference: got
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1676]: (error) Possible null pointer dereference: got
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1677]: (error) Possible null pointer dereference: got
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1739]: (error) Possible null pointer dereference: materials
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1741]: (error) Possible null pointer dereference: effects
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1743]: (error) Possible null pointer dereference: effects
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1744]: (error) Possible null pointer dereference: effects
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1747]: (error) Possible null pointer dereference: effects
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1765]: (error) Possible null pointer dereference: effects
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1766]: (error) Possible null pointer dereference: effects
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1775]: (error) Possible null pointer dereference: materials
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1776]: (error) Possible null pointer dereference: materials
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1778]: (error) Possible null pointer dereference: materials
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1779]: (error) Possible null pointer dereference: materials
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1781]: (error) Possible null pointer dereference: materials
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:34]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:3855] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:3863]: (performance) Variable 'x' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:3856] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:3864]: (performance) Variable 'y' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:3866] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:3868]: (performance) Variable 'z' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:4873] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:4874]: (performance) Buffer 'declaration' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1384]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:1384]: (style) The scope of the variable 'size' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:3323]: (style) The scope of the variable 'phi' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:3324]: (style) The scope of the variable 'sin_theta' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:3324]: (style) The scope of the variable 'cos_theta' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/shader.c:408]: (style) The scope of the variable 'data' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/surface.c:1164]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/surface.c:1177]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/surface.c:1190]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/surface.c:1203]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/surface.c:1216]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/surface.c:1219]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/volume.c:208]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/texture.c:702]: (style) Redundant condition: hr!=D3D_OK. 'A || (!A && B)' is equivalent to 'A || B'
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/texture.c:1575]: (style) The scope of the variable 'miplevels' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/texture.c:600]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/texture.c:1214]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/texture.c:452]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/texture.c:453]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/texture.c:460]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/texture.c:461]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/texture.c:1332]: (style) The scope of the variable 'format' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/texture.c:1333]: (style) The scope of the variable 'data' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/texture.c:1696]: (style) The scope of the variable 'format' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/texture.c:1770]: (style) The scope of the variable 'format' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/texture.c:1771]: (style) The scope of the variable 'data' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dxof/parsing.c:232]: (style) The scope of the variable 'err' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dxof/parsing.c:605]: (style) The scope of the variable 'c' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dxof/parsing.c:948]: (style) The scope of the variable 'cur_member' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dxof/parsing.c:953]: (style) The scope of the variable 'nb_dims' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/cpu_x86_64.c:701]: (style) The scope of the variable 'min' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/cpu_x86_64.c:701]: (style) The scope of the variable 'max' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:447]: (error) Possible null pointer dereference: last
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:398]: (style) The scope of the variable 'entry_code' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:399]: (style) The scope of the variable 'abbrev_entry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:401]: (style) The scope of the variable 'last' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:613]: (style) The scope of the variable 'ref_abbrev_attr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:667]: (style) The scope of the variable 'op' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:1038]: (style) The scope of the variable 'low' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:1038]: (style) The scope of the variable 'high' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:1090]: (style) The scope of the variable 'where' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:1092]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:1264]: (style) The scope of the variable 'child' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:1265]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:1452]: (style) The scope of the variable 'child' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:1453]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:1538]: (style) The scope of the variable 'child' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:1539]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:1764]: (style) The scope of the variable 'child' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:1765]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:1818]: (style) The scope of the variable 'child' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:1819]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:1904]: (style) The scope of the variable 'child' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:1905]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:2035]: (style) The scope of the variable 'child' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:2036]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:2075]: (style) The scope of the variable 'child' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:2076]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:2283]: (style) The scope of the variable 'opcode' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:2436]: (style) The scope of the variable 'child' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:2437]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:2503]: (style) The scope of the variable 'psym' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:2713]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/dwarf.c:2713]: (style) The scope of the variable 'id' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:3365]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:3366]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:3367]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:3372]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/d3dx9_36/tests/mesh.c:3373]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/macho_module.c:916]: (style) The scope of the variable 'sym' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/macho_module.c:1455]: (style) The scope of the variable 'fn' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/macho_module.c:73]: (style) struct member 'dyld_all_image_infos::version' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/macho_module.c:76]: (style) struct member 'dyld_all_image_infos::notification' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/macho_module.c:77]: (style) struct member 'dyld_all_image_infos::processDetachedFromSharedRegion' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/module.c:54]: (style) The scope of the variable 'l' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/module.c:669]: (style) The scope of the variable 'modfmt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/msc.c:317]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/msc.c:329]: (portability) Casting between integer* and double* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/msc.c:1361]: (style) The scope of the variable 'type' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/msc.c:1395]: (style) The scope of the variable 'nseg' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/msc.c:1399]: (style) The scope of the variable 'lt_ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/msc.c:1401]: (style) The scope of the variable 'start' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/msc.c:2331]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/msc.c:2663]: (style) The scope of the variable 'ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/msc.c:2751]: (style) The scope of the variable 'modimage' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/msc.c:3197]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/msc.c:3270]: (style) The scope of the variable 'prev' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/path.c:136]: (style) The scope of the variable 'n' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/path.c:481]: (style) The scope of the variable 'mapping' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/path.c:567]: (error) Uninitialized variable: pdb_lookup
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/pe_module.c:75]: (style) The scope of the variable 'mapping' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/pe_module.c:114]: (style) The scope of the variable 'sectname' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/pe_module.c:625]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/pe_module.c:665]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/pe_module.c:666]: (style) The scope of the variable 'buffer' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/msc.c:1122]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/msc.c:1123]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/msc.c:1124]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/msc.c:1125]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/msc.c:1132]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/msc.c:1133]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/msc.c:1134]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/msc.c:1135]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/stabs.c:588]: (style) The scope of the variable 'mthd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/stabs.c:629]: (style) The scope of the variable 'idx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/stabs.c:769]: (style) The scope of the variable 'idx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/stabs.c:1057]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/stabs.c:1422]: (style) Unsigned variable 'n_value' can't be negative so it is unnecessary to test it.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/storage.c:283]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/symbol.c:208]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/symbol.c:239]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/symbol.c:276]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/symbol.c:435]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/symbol.c:452]: (style) The scope of the variable 'dli' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/symbol.c:597]: (style) The scope of the variable 'modfmt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/symbol.c:738]: (style) The scope of the variable 'nameW' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/symbol.c:798]: (style) The scope of the variable 'prev_ins_idx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/symbol.c:849]: (style) The scope of the variable 'mid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/symbol.c:912]: (style) The scope of the variable 'lsym' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/symbol.c:1014]: (style) The scope of the variable 'mod' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/symbol.c:1794]: (style) The scope of the variable 'ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/symbol.c:2126]: (style) The scope of the variable 'sym' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/symbol.c:2113]: (style) Variable 'pcs' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/type.c:454]: (style) The scope of the variable 'tmp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/type.c:538]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/type.c:550]: (style) The scope of the variable 'pt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dbghelp/type.c:834]: (style) The scope of the variable 'modfmt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/ddraw.c:1901]: (style) The scope of the variable 'total_vidmem' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/ddraw.c:1901]: (style) The scope of the variable 'free_vidmem' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/ddraw.c:2373]: (style) The scope of the variable 'modenum' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/ddraw.c:4646]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/ddraw.c:606]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/device.c:73]: (style, inconclusive) Statements following return, break, continue, goto or throw will never be executed.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/device.c:227]: (style) The scope of the variable 'rt_iface' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/device.c:57]: (style) Variable 'oldcw' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/surface.c:491]: (style) The scope of the variable 'surf' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/surface.c:2383]: (style) The scope of the variable 'resource' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/surface.c:5762]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/surface.c:6347]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/d3d.c:350] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/d3d.c:350]: (style) Finding the same expression on both sides of an operator is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/d3d.c:1148]: (warning, inconclusive) Division of result of sizeof() on pointer type. sizeof() returns the size of the pointer, not the size of the memory area it points to.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/d3d.c:841]: (style) struct member 'v_out::rhw' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/d3d.c:1004]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/d3d.c:1043]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/d3d.c:1044]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/d3d.c:1045]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/d3d.c:1085]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/d3d.c:3050]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/d3d.c:3111]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:62]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:63]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:2595] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:2597]: (performance, inconclusive) Variable 'expect_messages' is reassigned a value before the old one has been used. Make sure that this variable is not used like a semaphore in a threading environment before simplifying this code.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:2600] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:2602]: (performance, inconclusive) Variable 'expect_messages' is reassigned a value before the old one has been used. Make sure that this variable is not used like a semaphore in a threading environment before simplifying this code.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:8234] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:8236]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:5405]: (style) The scope of the variable 'x' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:8136]: (style) The scope of the variable 'quad' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:64]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:65]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:2762] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:2764]: (performance, inconclusive) Variable 'expect_messages' is reassigned a value before the old one has been used. Make sure that this variable is not used like a semaphore in a threading environment before simplifying this code.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:2767] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:2769]: (performance, inconclusive) Variable 'expect_messages' is reassigned a value before the old one has been used. Make sure that this variable is not used like a semaphore in a threading environment before simplifying this code.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:6462]: (style) The scope of the variable 'x' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:9268]: (style) The scope of the variable 'quad' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:9142]: (style) struct member 'transform_input::unused1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:2199]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:2213]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:2227]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:2237]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:2246]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:4851]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:5155]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:5501]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:5637]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:6005]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw1.c:8508]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:10524]: (style) struct member 'transform_input::unused1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:1499]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:1505]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:2350]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:2364]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:2378]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:2388]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:2397]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:5898]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:6203]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:6558]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:7808]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw2.c:9620]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:61]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:62]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:2905] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:2907]: (performance, inconclusive) Variable 'expect_messages' is reassigned a value before the old one has been used. Make sure that this variable is not used like a semaphore in a threading environment before simplifying this code.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:2910] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:2912]: (performance, inconclusive) Variable 'expect_messages' is reassigned a value before the old one has been used. Make sure that this variable is not used like a semaphore in a threading environment before simplifying this code.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:6045]: (style) The scope of the variable 'addr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:7947]: (style) The scope of the variable 'x' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:10368]: (style) The scope of the variable 'buffer' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:11822]: (style) struct member 'transform_input::unused1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:2493]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:2507]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:2521]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:2531]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:2540]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:3039]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:3202]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:7181]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:7697]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:8043]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:8838]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw4.c:10753]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:58]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:59]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:2631] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:2633]: (performance, inconclusive) Variable 'expect_messages' is reassigned a value before the old one has been used. Make sure that this variable is not used like a semaphore in a threading environment before simplifying this code.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:2636] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:2638]: (performance, inconclusive) Variable 'expect_messages' is reassigned a value before the old one has been used. Make sure that this variable is not used like a semaphore in a threading environment before simplifying this code.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:5909]: (style) The scope of the variable 'addr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:7855]: (style) The scope of the variable 'x' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:10687]: (style) The scope of the variable 'buffer' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddrawmodes.c:967]: (style) The scope of the variable 'pdddi2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddrawmodes.c:969]: (style) The scope of the variable 'pend' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/dsurface.c:2758] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/dsurface.c:2765]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/dsurface.c:2768] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/dsurface.c:2778]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/dsurface.c:2007]: (style) union member 'Anonymous0::blob' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/dsurface.c:537]: (style) Variable 'lpData' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/dsurface.c:2523]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/dsurface.c:2529]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/dsurface.c:2540]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/dsurface.c:2546]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/dsurface.c:2564]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:1353]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:2220]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:2234]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:2248]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:2258]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:2267]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:2765]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:2928]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:4747]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:6579]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:7076]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:7579]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:7596]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:7951]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:8638]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:10905]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/ddraw7.c:11078]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/refcount.c:272]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/refcount.c:276]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/refcount.c:280]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/refcount.c:284]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/refcount.c:288]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/refcount.c:292]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/refcount.c:444]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/refcount.c:447]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/refcount.c:450]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/visual.c:28]: (style) struct member 'vec3::x' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/visual.c:28]: (style) struct member 'vec3::y' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/visual.c:28]: (style) struct member 'vec3::z' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/visual.c:33]: (style) struct member 'vec4::x' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/visual.c:33]: (style) struct member 'vec4::y' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/visual.c:33]: (style) struct member 'vec4::z' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/visual.c:33]: (style) struct member 'vec4::w' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/visual.c:882]: (style) struct member 'Anonymous3::x' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/visual.c:882]: (style) struct member 'Anonymous3::y' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/visual.c:882]: (style) struct member 'Anonymous3::z' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/tests/visual.c:883]: (style) struct member 'Anonymous3::rhw' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/vertexbuffer.c:229]: (style) The scope of the variable 'wined3d_resource' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/viewport.c:399]: (style) The scope of the variable 'out' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/viewport.c:400]: (style) The scope of the variable 'x' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/viewport.c:400]: (style) The scope of the variable 'y' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/viewport.c:400]: (style) The scope of the variable 'z' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddraw/viewport.c:400]: (style) The scope of the variable 'w' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddrawex/tests/ddrawex.c:131]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ddrawex/tests/surface.c:445]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/devenum/devenum_main.c:92]: (style) The scope of the variable 'pMapper' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/devenum/mediacatenum.c:255] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/devenum/mediacatenum.c:256]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/devenum/mediacatenum.c:256] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/devenum/mediacatenum.c:259]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/device.c:126]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/device.c:325]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/dinput_main.c:752]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/effect_linuxinput.c:395]: (style) Variable 'tsp' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/joystick.c:137]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/joystick.c:155]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/joystick.c:825]: (style) The scope of the variable 'username_size' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/joystick.c:867]: (style) The scope of the variable 'username_size' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/joystick.c:969]: (style) The scope of the variable 'axis_names' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/joystick.c:976]: (portability) Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/joystick.c:1022]: (portability) Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/joystick_linux.c:148]: (style) The scope of the variable 'id_str' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/joystick_linux.c:344]: (style) The scope of the variable 'fd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/joystick_linux.c:373]: (style) The scope of the variable 'fd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/joystick_osx.c:969]: (style) The scope of the variable 'name' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/joystick_osx.c:970]: (style) The scope of the variable 'friendly' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/keyboard.c:574]: (style) The scope of the variable 'username_size' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/keyboard.c:614]: (style) The scope of the variable 'username_size' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/keyboard.c:118]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/mouse.c:797]: (style) The scope of the variable 'username_size' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/mouse.c:837]: (style) The scope of the variable 'username_size' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/tests/dinput.c:330]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput/tests/dinput.c:332]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dispex/tests/marshal.c:369] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dispex/tests/marshal.c:145]: (style, inconclusive) The variable 'dispex' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dispex/tests/marshal.c:411]: (style) Variable 'i' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput8/tests/dinput.c:299]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput8/tests/dinput.c:301]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dinput8/tests/dinput.c:599]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmband/bandtrack.c:286] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmband/bandtrack.c:289]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmband/tests/dmband.c:80] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmband/tests/dmband.c:84]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmband/tests/dmband.c:86] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmband/tests/dmband.c:90]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmband/tests/dmband.c:92]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmband/tests/dmband.c:143]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmcompos/tests/dmcompos.c:112] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmcompos/tests/dmcompos.c:116]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmcompos/tests/dmcompos.c:118] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmcompos/tests/dmcompos.c:122]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmcompos/tests/dmcompos.c:74]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmcompos/tests/dmcompos.c:124]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmcompos/tests/dmcompos.c:164]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmcompos/tests/dmcompos.c:146]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/graph.c:114]: (style) The scope of the variable 'pIt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/segment.c:226] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/segment.c:227]: (warning) Either the condition '0!=pIt' is redundant or there is possible null pointer dereference: pIt.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/segment.c:250] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/segment.c:251]: (warning) Either the condition '0!=pIt' is redundant or there is possible null pointer dereference: pIt.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/segment.c:762] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/segment.c:765]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/segment.c:1140] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/segment.c:1143]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/segment.c:242]: (style) The scope of the variable 'pIt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/segment.c:373]: (style) The scope of the variable 'pEntry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/segment.c:376]: (style) The scope of the variable 'pIt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/tests/performance.c:149]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/tests/dmime.c:193] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/tests/dmime.c:197]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/tests/dmime.c:199] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/tests/dmime.c:203]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/tests/dmime.c:90]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/tests/dmime.c:73]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/tests/dmime.c:146]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/tests/dmime.c:150]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/tests/dmime.c:205]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/tests/dmime.c:298]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmime/tests/dmime.c:554]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmloader/container.c:53]: (style) The scope of the variable 'pContainedObject' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmloader/tests/loader.c:205] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmloader/tests/loader.c:209]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmloader/tests/loader.c:211] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmloader/tests/loader.c:215]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmloader/tests/loader.c:168]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmloader/tests/loader.c:217]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmscript/tests/dmscript.c:118] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmscript/tests/dmscript.c:122]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmscript/tests/dmscript.c:124] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmscript/tests/dmscript.c:128]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmscript/tests/dmscript.c:130]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmscript/tests/dmscript.c:173]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmstyle/commandtrack.c:298]: (style) The scope of the variable 'tmpEntry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmstyle/tests/dmstyle.c:79] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmstyle/tests/dmstyle.c:83]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmstyle/tests/dmstyle.c:85] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmstyle/tests/dmstyle.c:89]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmstyle/tests/dmstyle.c:91]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmstyle/tests/dmstyle.c:138]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmstyle/tests/dmstyle.c:114]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmstyle/tests/dmstyle.c:278]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmstyle/tests/dmstyle.c:313]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmstyle/style.c:382] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmstyle/style.c:385]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmsynth/synth.c:168]: (style) The scope of the variable 'wave_data' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmusic/collection.c:146]: (style) The scope of the variable 'inst_entry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmusic/collection.c:674]: (style) The scope of the variable 'tmpEntry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmusic/tests/dmusic.c:295] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmusic/tests/dmusic.c:299]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmusic/tests/dmusic.c:301] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dmusic/tests/dmusic.c:305]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dmusic/port.c:770]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/dplaysp.c:176] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/dplay_global.h:81]: (style, inconclusive) The variable 'lpPlayerData' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/dplaysp.c:523] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/dplay_global.h:81]: (style, inconclusive) The variable 'lpPlayerData' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpnet/address.c:110]: (style) The scope of the variable 'entry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpnet/tests/client.c:99]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpnet/tests/client.c:102]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpnet/tests/client.c:105]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpnet/tests/client.c:128]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpnet/tests/client.c:178]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpnet/tests/client.c:234]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpnet/tests/client.c:484]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpnet/tests/client.c:485]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpnet/tests/client.c:488]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpnet/tests/server.c:86]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpnet/tests/server.c:92]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpnet/tests/server.c:94]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:888]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:892]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:930]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:1216]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:1223]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:1227]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:1231]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:1238]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:1242]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:1246]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:1250]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:1258]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:1260]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:1267]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:1274]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:1281]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:1290]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:1351]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:1361]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpvoice/tests/voice.c:421]: (style) Suspicious expression. Boolean result is used in bitwise operation. The operator '!' and the comparison operators have higher precedence than bitwise operators. It is recommended that the expression is clarified with parentheses.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpvoice/tests/voice.c:119]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpvoice/tests/voice.c:122]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:1407]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpvoice/tests/voice.c:125]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpvoice/tests/voice.c:136]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpvoice/tests/voice.c:248]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpvoice/tests/voice.c:252]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpvoice/tests/voice.c:296]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:1781]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpvoice/tests/voice.c:312]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpvoice/tests/voice.c:320]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpvoice/tests/voice.c:336]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:1961]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:2145]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:2305]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:2312]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:2569]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:2838]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:3025]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:3159]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:3286]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:3577]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:3766]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:4089]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:4309]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:4530]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:4537]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:4766]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:4774]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:5022]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:5346]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:5622]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:5848]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:6171]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dplayx/tests/dplayx.c:6391]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpvoice/tests/voice.c:445]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpvoice/tests/voice.c:446]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpvoice/tests/voice.c:447]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpvoice/tests/voice.c:448]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpvoice/tests/voice.c:454]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpvoice/tests/voice.c:455]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpvoice/tests/voice.c:456]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dpvoice/tests/voice.c:457]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dsound/capture.c:1171] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dsound/capture.c:1092]: (style, inconclusive) The struct 'IDirectSoundCaptureImpl' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dsound/dsound.c:202]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dsound/dsound.c:636]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dsound/mixer.c:421]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dsound/tests/ds3d8.c:187]: (style) The scope of the variable 'ref' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dsound/tests/ds3d.c:85]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dsound/tests/ds3d.c:336]: (style) The scope of the variable 'ref' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dswave/tests/dswave.c:88]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/freetype.c:455]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/font.c:2251]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/gdiinterop.c:832] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/gdiinterop.c:833]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/font.c:4156]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/font.c:5192]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/layout.c:1077]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/opentype.c:1986]: (style) The scope of the variable 'lookup_table' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/analyzer.c:1226] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/analyzer.c:1227]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/analyzer.c:1227] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/analyzer.c:1228]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/analyzer.c:1228] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/analyzer.c:1229]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/analyzer.c:1229] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/analyzer.c:1230]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/analyzer.c:1077]: (style) The scope of the variable 'conditions' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/layout.c:1146] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/layout.c:1147]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/layout.c:2329] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/layout.c:2330]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/font.c:2318] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/font.c:2319]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/font.c:2304]: (style) The scope of the variable 'fontface' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/font.c:6665]: (style) The scope of the variable 'lookup_table' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/layout.c:285]: (style) struct member 'drawtestcontext::failcount' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/layout.c:287]: (style) struct member 'drawtestcontext::line' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/layout.c:4472]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/font.c:4009]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/font.c:6364]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/font.c:6462]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/font.c:2379]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/font.c:2381]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/font.c:3690]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dwrite/tests/font.c:3692]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dxerr8/dxerr8.c:52]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dxerr8/dxerr8.c:70]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dxerr8/dxerr8.c:87]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dxerr8/dxerr8.c:105]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dxerr9/dxerr9.c:56]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dxerr9/dxerr9.c:74]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dxerr9/dxerr9.c:91]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dxerr9/dxerr9.c:109]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dxgi/dxgi_main.c:104]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dxgi/utils.c:538]: (style) The scope of the variable 'entry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/explorerframe/nstc.c:727]: (style) The scope of the variable 'psi' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dxgi/tests/device.c:1848]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dxgi/tests/device.c:2966]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dxgi/tests/device.c:2968]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dxgi/tests/device.c:2974]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dxgi/tests/device.c:2975]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/dxgi/tests/device.c:2978]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/explorerframe/nstc.c:909]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/explorerframe/nstc.c:910]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/explorerframe/nstc.c:1179]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/explorerframe/nstc.c:1196]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/explorerframe/nstc.c:1451]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/explorerframe/nstc.c:1458]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/explorerframe/tests/msg.h:50] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/explorerframe/tests/msg.h:41]: (style) Variable 'id' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/fusion/asmcache.c:405]: (error) Possible null pointer dereference: src_dir
[/home/igor/wine-src/wine-2.0-rc5/dlls/explorerframe/tests/nstc.c:666]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/explorerframe/tests/nstc.c:1467]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/fusion/asmenum.c:97]: (style) The scope of the variable 'item' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/fusion/asmenum.c:97]: (style) The scope of the variable 'cursor' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/explorerframe/tests/nstc.c:1304]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/fusion/tests/asmcache.c:1265] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/fusion/tests/asmcache.c:1266]: (performance) Variable 'pszCurrentAssemblyPathBuf' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/fusion/tests/asmcache.c:1556] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/fusion/tests/asmcache.c:1557]: (performance) Variable 'pszCurrentAssemblyPathBuf' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/fusion/tests/asmcache.c:1556] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/fusion/tests/asmcache.c:1558]: (performance) Variable 'cchBuf' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/fusion/assembly.c:563]: (style) The scope of the variable 'streamhdr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gameux/gameexplorer.c:405] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/gameux/gameexplorer.c:425]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gameux/gamestatistics.c:120]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gameux/gamestatistics.c:120]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gameux/gamestatistics.c:436]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gameux/gamestatistics.c:436]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi.exe16/metafile.c:191]: (style) The scope of the variable 'mr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi.exe16/gdi.c:2392]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/bidi.c:301]: (style) The scope of the variable 'cchLine' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/bidi.c:625]: (style) The scope of the variable 'k' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/bitmap.c:317]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dc.c:740]: (style) The scope of the variable 'origDC' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dc.c:1319]: (style) The scope of the variable 'c' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dib.c:103]: (style) The scope of the variable 'size' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dib.c:103]: (style) The scope of the variable 'masks' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/dc.c:579]: (style) The scope of the variable 'bits' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/graphics.c:524]: (style) The scope of the variable 'pwc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/enhmetafile.c:2267]: (style) The scope of the variable 'emr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/enhmetafile.c:2526]: (style) The scope of the variable 'emrDst' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/enhmetafile.c:2568]: (style) The scope of the variable 'emrDst' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/font.c:416] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/font.c:420]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/font.c:1203]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/font.c:1340]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/font.c:2504]: (style) The scope of the variable 'otm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/font.c:2722]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/font.c:2783]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/font.c:3583]: (style) The scope of the variable 'filename' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/font.c:3689]: (style) The scope of the variable 'filename' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:5533] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:5533]: (warning) Variable 'bit_val' is reassigned a value before the old one has been used. 'break;' missing?
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:5533] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:5533]: (performance) Variable 'bit_val' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:1097]: (style) The scope of the variable 'left' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:1097]: (style) The scope of the variable 'right' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:1229]: (style) The scope of the variable 'left' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:1229]: (style) The scope of the variable 'right' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:1379]: (style) The scope of the variable 'y' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:1576]: (style) The scope of the variable 'dst' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:1939]: (style) The scope of the variable 'y' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:2273]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:2382]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:2406]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:2544]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:2655]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:2683]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:2917]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:2939]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:3058]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:3160]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:3186]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:3313]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:3439]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:3468]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:3613]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:3720]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:3767]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:3929]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:4093]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:4131]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:4344]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:4514]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:4548]: (style) The scope of the variable 'src_pixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/dibdrv/primitives.c:5533]: (style) Variable 'bit_val' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/gdiobj.c:820]: (style) The scope of the variable 'entry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/gdiobj.c:1003]: (style) The scope of the variable 'pphdc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:5564] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:5562]: (style, inconclusive) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:1123]: (style) The scope of the variable 'to_exist' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:1710]: (style) The scope of the variable 'vert_family' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:1741]: (style) The scope of the variable 'family' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:2017]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:2484]: (style) The scope of the variable 'value' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:2485]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:2487]: (style) The scope of the variable 'family' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:2489]: (style) The scope of the variable 'file' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:3077]: (style) The scope of the variable 'unixname' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:3866]: (style) The scope of the variable 'assoc_charset_subkey' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:4945]: (style) The scope of the variable 'pwc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:6236]: (style) The scope of the variable 'offset' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:6668]: (style) The scope of the variable 'first_pt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:7180]: (style) The scope of the variable 'row' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:7180]: (style) The scope of the variable 'col' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:7181]: (style) The scope of the variable 'ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/metafile.c:379]: (style) The scope of the variable 'mr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/metafile.c:463]: (style) The scope of the variable 'mr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/mfdrv/text.c:81]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/mfdrv/text.c:81]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/painting.c:314]: (style) The scope of the variable 'angle' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/palette.c:482]: (style) The scope of the variable 'r' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/palette.c:482]: (style) The scope of the variable 'g' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/palette.c:482]: (style) The scope of the variable 'b' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:2733]: (portability) Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/path.c:167]: (style) The scope of the variable 'x' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/path.c:167]: (style) The scope of the variable 'y' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/path.c:194]: (style) The scope of the variable 'size' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/path.c:493]: (style) The scope of the variable 'a' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/path.c:1594]: (style) The scope of the variable 'outline' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:6607]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:6690]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:7511]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/freetype.c:7519]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/region.c:1105]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/region.c:2629]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/clipping.c:125]: (style) The scope of the variable 'rect' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/bitmap.c:93] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/bitmap.c:94]: (performance) Buffer 'buf_cmp' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/bitmap.c:1550] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/bitmap.c:1551]: (performance) Buffer 'buf_cmp' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/bitmap.c:2979] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/bitmap.c:2980]: (performance) Buffer 'info' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/bitmap.c:3633] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/bitmap.c:3761]: (performance) Variable 'oldSrc' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/dc.c:616]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/font.c:1148] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/font.c:1150]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/font.c:2056]: (style) The scope of the variable 'ratio_rec' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/font.c:2058]: (style) The scope of the variable 'res' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/font.c:2058]: (style) The scope of the variable 'copy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/font.c:4914]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/font.c:5412]: (style) The scope of the variable 'FaceName' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/font.c:5412]: (style) The scope of the variable 'StyleName' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/font.c:5891]: (style) The scope of the variable 'offset' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/font.c:4177]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/font.c:5642]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/font.c:6382]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/font.c:218]: (style) Defensive programming: The variable 'minlen' is used as an array index before it is checked that is within limits. This can mean that the array might be accessed out of bounds. Reorder conditions such as '(a[i] && i < 10)' to '(i < 10 && a[i])'. That way the array will not be accessed if the index is out of limits.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/font.c:1831]: (error) Null pointer dereference
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/icm.c:161]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/metafile.c:896]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/metafile.c:933]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/palette.c:153]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/palette.c:46]: (style) Variable 'bmpbuf' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/palette.c:49]: (style) Variable 'logpalettebuf' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdi32/tests/palette.c:124]: (style) Variable 'logpalettebuf' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/graphics.c:123]: (style) The scope of the variable 'x' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/graphics.c:123]: (style) The scope of the variable 'y' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/graphics.c:1134]: (style) The scope of the variable 'x' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/graphics.c:1134]: (style) The scope of the variable 'y' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/graphics.c:1192]: (style) The scope of the variable 'x' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/graphics.c:1192]: (style) The scope of the variable 'y' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/graphics.c:3416]: (style) The scope of the variable 'dash_pattern' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/graphics.c:4382]: (style) The scope of the variable 'pixel_data' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/graphics.c:4901]: (style) The scope of the variable 'fitcpy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/graphics.c:6759]: (style) The scope of the variable 'real_positions' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/graphics.c:6819]: (style) The scope of the variable 'left' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/graphics.c:6819]: (style) The scope of the variable 'top' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/graphics.c:6819]: (style) The scope of the variable 'right' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/graphics.c:6819]: (style) The scope of the variable 'bottom' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/image.c:356]: (style) The scope of the variable 'distance' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/image.c:3206]: (style) The scope of the variable 'prop' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/image.c:3449]: (style) The scope of the variable 'item' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/image.c:3591]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/image.c:4365]: (style) The scope of the variable 'desired_wicformat' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/graphics.c:1550]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/matrix.c:45]: (style) The scope of the variable 'odd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/metafile.c:1075] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/metafile.c:1077]: (performance) Variable 'stat' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/customlinecap.c:65]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/brush.c:1021]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/font.c:812]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/font.c:822]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/font.c:952]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/font.c:997]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/font.c:999]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/font.c:1045]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/font.c:1047]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/font.c:1093]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/font.c:1095]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/font.c:1097]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/graphicspath.c:1214]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/graphics.c:4317] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/graphics.c:4319]: (performance) Variable 'status' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/graphics.c:4425] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/graphics.c:4431]: (performance) Variable 'status' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/graphics.c:3864]: (style) The scope of the variable 'graphics' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/graphics.c:389]: (style) Variable 'check_no_duplicates' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/graphics.c:3020]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/graphics.c:3157]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/graphics.c:4232]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/graphics.c:4578]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/graphics.c:4594]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/graphics.c:4610]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/graphics.c:4626]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/graphics.c:4646]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/graphics.c:4662]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/graphics.c:4678]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/graphics.c:4694]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/graphics.c:4847]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/image.c:549]: (style) The scope of the variable 'y' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/image.c:3148]: (style) The scope of the variable 'image' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/image.c:4266]: (style) The scope of the variable 'match' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/image.c:3155]: (style) union member 'Anonymous0::buf' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/image.c:3334]: (style) struct member 'tiff_data::string' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/image.c:848]: (style) Variable 'bits' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/image.c:1473]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/image.c:1531]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/image.c:4048]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/image.c:4143]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/image.c:4161]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/image.c:4177]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/image.c:4713]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/metafile.c:1212]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/pathiterator.c:552]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/pen.c:62]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/region.c:57]: (style) The scope of the variable 'rect' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/region.c:1001]: (style) The scope of the variable 'point' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/gdiplus/tests/region.c:1104]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/hhctrl.ocx/help.c:1874]: (style) The scope of the variable 'dir' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/hhctrl.ocx/help.c:1896]: (style) The scope of the variable 'symbol' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/hhctrl.ocx/stream.c:116]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/hidclass.sys/buffer.c:132]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/hidclass.sys/descriptor.c:257]: (style) The scope of the variable 'fentry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/hidclass.sys/descriptor.c:258]: (style) The scope of the variable 'centry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/hidclass.sys/descriptor.c:337]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/hidclass.sys/descriptor.c:338]: (style) The scope of the variable 'r' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/hidclass.sys/descriptor.c:413]: (style) The unsigned variable 'bSize' will never be negative so it is either pointless or an error to check if it is.
[/home/igor/wine-src/wine-2.0-rc5/dlls/hidclass.sys/descriptor.c:443]: (style) The unsigned variable 'bSize' will never be negative so it is either pointless or an error to check if it is.
[/home/igor/wine-src/wine-2.0-rc5/dlls/hidclass.sys/device.c:446] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/hidclass.sys/device.c:462]: (performance) Variable 'rc' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/hidclass.sys/device.c:659] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/hidclass.sys/device.c:662]: (performance) Variable 'ptr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/hidclass.sys/device.c:159]: (style) The scope of the variable 'irp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/hidclass.sys/device.c:229]: (style) The scope of the variable 'irp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/hlink/tests/hlink.c:595]: (style) Variable 'username' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/hnetcfg/policy.c:252] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/hnetcfg/policy.c:41]: (style, inconclusive) The variable 'fw_policy' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/hnetcfg/policy.c:258] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/hnetcfg/policy.c:41]: (style, inconclusive) The variable 'fw_policy' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iccvid/iccvid.c:109]: (style) The scope of the variable 'uvr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iccvid/iccvid.c:109]: (style) The scope of the variable 'uvg' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iccvid/iccvid.c:109]: (style) The scope of the variable 'uvb' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iccvid/iccvid.c:359]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iccvid/iccvid.c:411]: (style) The scope of the variable 'v4_codebook' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iccvid/iccvid.c:411]: (style) The scope of the variable 'v1_codebook' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iccvid/iccvid.c:412]: (style) The scope of the variable 'x' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iccvid/iccvid.c:412]: (style) The scope of the variable 'strip_id' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iccvid/iccvid.c:413]: (style) The scope of the variable 'x0' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iccvid/iccvid.c:413]: (style) The scope of the variable 'y0' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iccvid/iccvid.c:413]: (style) The scope of the variable 'x1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iccvid/iccvid.c:413]: (style) The scope of the variable 'y1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iccvid/iccvid.c:414]: (style) The scope of the variable 'top_size' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ieframe/intshcut.c:577]: (style) The scope of the variable 'iconfile' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ieframe/intshcut.c:580]: (style) The scope of the variable 'str_ICONFILE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ieframe/tests/webbrowser.c:2139] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ieframe/tests/webbrowser.c:2143]: (performance) Variable 'fetched' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ieframe/tests/webbrowser.c:2004]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ieframe/tests/webbrowser.c:2188]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ieframe/tests/webbrowser.c:2189]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ieframe/tests/webbrowser.c:2900]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ieframe/tests/webbrowser.c:3534]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/imagehlp/tests/image.c:55]: (style) struct member '__IMPORT_BY_NAME::funcname' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/imagehlp/tests/image.c:415]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/imagehlp/tests/image.c:418]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/imm32/imm.c:1276]: (style) Variable 'dst' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/imm32/imm.c:2100]: (style) Variable 'rc' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/imm32/tests/imm32.c:1163]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/imm32/tests/imm32.c:1168]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/imm32/tests/imm32.c:1171]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetcomm/inetcomm_main.c:154] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/inetcomm/inetcomm_main.c:76]: (style, inconclusive) The variable 'cf' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetcomm/internettransport.c:100]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetcomm/mimeole.c:2163]: (style) The scope of the variable 'list' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetcomm/pop3transport.c:924]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetcomm/pop3transport.c:1023]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetcomm/mimeole.c:1956]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetcomm/smtptransport.c:65]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetcomm/smtptransport.c:439]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetcomm/smtptransport.c:513]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetcomm/tests/mimeole.c:630]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetcomm/tests/mimeole.c:631]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetcomm/tests/mimeole.c:643]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetcomm/tests/mimeole.c:644]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetcomm/tests/mimeole.c:657]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetcomm/tests/mimeole.c:658]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetcpl.cpl/security.c:158]: (style) The scope of the variable 'ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetmib1/main.c:516]: (style) The scope of the variable 'ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetmib1/main.c:506]: (style) Variable 'id' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetmib1/main.c:528]: (style) Variable 'id' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetmib1/tests/main.c:62] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/inetmib1/tests/main.c:63]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetmib1/tests/main.c:63] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/inetmib1/tests/main.c:64]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetmib1/tests/main.c:107] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/inetmib1/tests/main.c:108]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetmib1/tests/main.c:108] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/inetmib1/tests/main.c:109]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetmib1/tests/main.c:109] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/inetmib1/tests/main.c:110]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/inetmib1/tests/main.c:110] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/inetmib1/tests/main.c:111]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/ifenum.c:1038]: (error) Resource leak: fd
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/ifenum.c:592]: (style) The scope of the variable 'sdl' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/iphlpapi_main.c:1079]: (style) The scope of the variable 'sa' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/ipstats.c:1393] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/ipstats.c:1587]: (warning) Either the condition '!table' is redundant or there is possible null pointer dereference: table.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/ipstats.c:1660] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/ipstats.c:1801]: (warning) Either the condition '!table' is redundant or there is possible null pointer dereference: table.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/ipstats.c:2125] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/ipstats.c:2291]: (warning) Either the condition '!table' is redundant or there is possible null pointer dereference: table.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/ipstats.c:2407] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/ipstats.c:2559]: (warning) Either the condition '!table' is redundant or there is possible null pointer dereference: table.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/ipstats.c:2116]: (style) Unused variable: row
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/ipstats.c:2005]: (style) The scope of the variable 'proc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/iphlpapi_main.c:1271]: (style) The scope of the variable 'ip6_count' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/tests/iphlpapi.c:752]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/tests/iphlpapi.c:915]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/tests/iphlpapi.c:919]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/tests/iphlpapi.c:1028]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/tests/iphlpapi.c:1292]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/tests/iphlpapi.c:1332]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/ipstats.c:2052]: (style) The scope of the variable 'fd_len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/ipstats.c:2057]: (style) The unsigned variable 'fd_len' will never be negative so it is either pointless or an error to check if it is.
[/home/igor/wine-src/wine-2.0-rc5/dlls/itss/chm_lib.c:982]: (style) The scope of the variable 'temp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/itss/chm_lib.c:1423]: (style) The scope of the variable 'end' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/ipstats.c:1980]: (style) The scope of the variable 'dirent' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/iphlpapi/ipstats.c:1986]: (portability) Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/itss/lzx.c:487]: (style) The scope of the variable 'this_run' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/itss/moniker.c:290] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/itss/moniker.c:295]: (performance) Variable 'len' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/itss/lzx.c:791]: (style) The scope of the variable 'fin' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/itss/lzx.c:795]: (style) The scope of the variable 'ilen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/itss/lzx.c:796]: (style) The scope of the variable 'status' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/itss/lzx.c:795]: (style) Unused variable: olen
[/home/igor/wine-src/wine-2.0-rc5/dlls/joy.cpl/main.c:781]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/array.c:678] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/array.c:682]: (performance) Variable 'hres' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/array.c:826] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/array.c:830]: (performance) Variable 'hres' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/array.c:953]: (style) The scope of the variable 'buf_end' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/array.c:953]: (style) The scope of the variable 'str' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:288]: (style) The scope of the variable 'set_week_day' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:498]: (style) The scope of the variable 'date_jsstr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:499]: (style) The scope of the variable 'year' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:499]: (style) The scope of the variable 'day' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:585]: (style) The scope of the variable 'date_str' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:586]: (style) The scope of the variable 'date_len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:586]: (style) The scope of the variable 'time_len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:659]: (style) The scope of the variable 'date_str' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:660]: (style) The scope of the variable 'year' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:660]: (style) The scope of the variable 'day' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:736]: (style) The scope of the variable 'date_str' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:738]: (style) The scope of the variable 'year' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:738]: (style) The scope of the variable 'day' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:797]: (style) The scope of the variable 'date_str' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:801]: (style) The scope of the variable 'offset' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:849]: (style) The scope of the variable 'date_str' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:850]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:888]: (style) The scope of the variable 'date_str' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:889]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/date.c:1984]: (style) The scope of the variable 'ms' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/compile.c:105]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/compile.c:1098]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/compile.c:1812]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/compile.c:892]: (style) The scope of the variable 'instr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/compile.c:2379]: (style) The scope of the variable 'ptr2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/dispex.c:86]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/dispex.c:86]: (style) The scope of the variable 'r' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/dispex.c:121]: (style) The scope of the variable 'bucket' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/engine.c:2704]: (style) The scope of the variable 'op' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/error.c:344]: (style) The scope of the variable 'str' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/function.c:745]: (style) The scope of the variable 'ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/function.c:750]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/json.c:652]: (style) Variable 'hres' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/jsregexp.c:231]: (error) Possible null pointer dereference: ret
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/jsregexp.c:232]: (error) Possible null pointer dereference: ret
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/jsstr.c:160]: (style) The scope of the variable 'cmp_size' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/jsstr.c:161]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/lex.c:165]: (style) The scope of the variable 'r' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/lex.c:165]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/regexp.c:1926]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/regexp.c:3075]: (style) The scope of the variable 'result' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/string.c:789] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/string.c:793]: (performance) Variable 'hres' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/string.c:409]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/tests/activex.c:506] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/tests/activex.c:501]: (warning) Either the condition 'pContext!=0' is redundant or there is possible null pointer dereference: cs.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/tests/activex.c:507] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/tests/activex.c:501]: (warning) Either the condition 'pContext!=0' is redundant or there is possible null pointer dereference: cs.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/tests/run.c:492]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/tests/run.c:580]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jscript/tests/run.c:2405]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/jsproxy/main.c:108]: (style) Assignment of function parameter has no effect outside the function.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/computername.c:204]: (style) The scope of the variable 'tmp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/computername.c:411]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/console.c:1514] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/console.c:1523]: (performance) Variable 'handle_in' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/console.c:213]: (style) The scope of the variable 'fd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/console.c:594]: (style) The scope of the variable 'y' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/console.c:942]: (style) The scope of the variable 'y' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/console.c:966]: (style) The scope of the variable 'y' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/console.c:2805]: (style) The scope of the variable 'start' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/console.c:1695]: (style) Variable 'xbuf' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/editline.c:439]: (style) The scope of the variable 'data' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/editline.c:440]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/file.c:405]: (style) Variable 'iosb' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/file.c:549]: (style) Variable 'iosb' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/file.c:1570]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/heap.c:354]: (style) The scope of the variable 'pintern' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/heap.c:816]: (style) The scope of the variable 'pintern' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/heap.c:463]: (style) Variable 'RtlUnlockHeap' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/heap.c:524]: (style) Variable 'RtlUnlockHeap' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/heap.c:585]: (style) Variable 'RtlUnlockHeap' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/heap.c:792]: (style) Variable 'RtlUnlockHeap' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/lzexpand.c:456]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/lzexpand.c:456]: (style) The scope of the variable 'wret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/module.c:241]: (style) struct member 'Anonymous1::version' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/module.c:242]: (style) struct member 'Anonymous1::ignored' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/module.c:250]: (style) struct member 'Anonymous2::cpusubtype' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/module.c:924]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/locale.c:2180]: (style) The scope of the variable 'table' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/locale.c:2202]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/locale.c:2203]: (style) The scope of the variable 'page' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/locale.c:3827]: (style) The scope of the variable 'once' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/locale.c:3729]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/locale.c:3739]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/oldconfig.c:276]: (style) The scope of the variable 'dent' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/oldconfig.c:289]: (portability) Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/path.c:689]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/process.c:1877]: (style) Suspicious expression. Boolean result is used in bitwise operation. The operator '!' and the comparison operators have higher precedence than bitwise operators. It is recommended that the expression is clarified with parentheses.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/process.c:1910]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/process.c:1159]: (style) Variable 'name' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/process.c:2649]: (style) Variable 'p' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/profile.c:198]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/profile.c:312]: (style) The scope of the variable 'szLineStart' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/profile.c:983]: (style) The scope of the variable 'key' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/resource.c:1012]: (style) The scope of the variable 'namedir' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/resource.c:1013]: (style) The scope of the variable 'e1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/string.c:194]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/string.c:214]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/actctx.c:1243]: (style) The scope of the variable 'ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/process.c:1121]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/atom.c:305]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/atom.c:571]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/codepage.c:1010]: (style) The scope of the variable 'num' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/comm.c:583]: (style) The scope of the variable 'reportedDCBW' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/comm.c:611]: (style) The scope of the variable 'reportedDCBAndTW' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/comm.c:640]: (style) The scope of the variable 'ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/comm.c:912]: (style) Variable 'before' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/comm.c:1506]: (style) Variable 'args' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/comm.c:1668]: (style) Variable 'args' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/comm.c:1754]: (style) Variable 'args' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/comm.c:1833]: (style) Variable 'args' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/console.c:262] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/console.c:265]: (performance) Variable 'X' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/console.c:953] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/console.c:956]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/console.c:901]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/console.c:1049]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/console.c:1201]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/console.c:2860]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/console.c:2872]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/console.c:2874]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/console.c:2885]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/console.c:2886]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/console.c:2902]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/console.c:2906]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/console.c:2908]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/console.c:2919]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/console.c:2920]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/console.c:2965]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/process.c:1837]: (style) The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() function obsolescent and POSIX.1-2008 removes it. It is recommended that new applications use the 'nanosleep' or 'setitimer' function.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/debugger.c:170]: (error) Possible null pointer dereference: p
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/debugger.c:417]: (style) The scope of the variable 'WineDbg' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/environ.c:57]: (style) The scope of the variable 'Env' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/debugger.c:170]: (error) Null pointer dereference
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/fiber.c:225] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/fiber.c:231]: (performance) Variable 'val' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/file.c:291]: (style) The scope of the variable 'err' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/file.c:1182]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/file.c:1183]: (style) The scope of the variable 'c' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/file.c:1205]: (style) The scope of the variable 'Volume_1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/file.c:3935]: (style) The scope of the variable 'bothDirInfo' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/format_msg.c:387]: (portability) Passing NULL after the last typed argument to a variadic function leads to undefined behaviour.\012The C99 standard, in section 7.15.1.1, states that if the type used by va_arg() is not compatible with the type of the actual next argument (as promoted according to the default argument promotions), the behavior is undefined.\012The value of the NULL macro is an implementation-defined null pointer constant (7.17), which can be any integer constant expression with the value 0, or such an expression casted to (void*) (6.3.2.3). This includes values like 0, 0L, or even 0LL.\012In practice on common architectures, this will cause real crashes if sizeof(int) != sizeof(void*), and NULL is defined to 0 or any other null pointer constant that promotes to int.\012To reproduce you might be able to use this little code example on 64bit platforms. If the output includes "ERROR", the sentinel had only 4 out of 8 bytes initialized to zero and was not detected as the final argument to stop argument processing via va_arg(). Changing the 0 to (void*)0 or 0L will make the "ERROR" output go away.\012#include <stdarg.h>\012#include <stdio.h>\012\012void f(char *s, ...) {\012    va_list ap;\012    va_start(ap,s);\012    for (;;) {\012        char *p = va_arg(ap,char*);\012        printf("%018p, %s\n", p, (long)p & 255 ? p : "");\012        if(!p) break;\012    }\012    va_end(ap);\012}\012\012void g() {\012    char *s2 = "x";\012    char *s3 = "ERROR";\012\012    // changing 0 to 0L for the 7th argument (which is intended to act as sentinel) makes the error go away on x86_64\012    f("first", s2, s2, s2, s2, s2, 0, s3, (char*)0);\012}\012\012void h() {\012    int i;\012    volatile unsigned char a[1000];\012    for (i = 0; i<sizeof(a); i++)\012        a[i] = -1;\012}\012\012int main() {\012    h();\012    g();\012    return 0;\012}
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/format_msg.c:712]: (portability) Passing NULL after the last typed argument to a variadic function leads to undefined behaviour.\012The C99 standard, in section 7.15.1.1, states that if the type used by va_arg() is not compatible with the type of the actual next argument (as promoted according to the default argument promotions), the behavior is undefined.\012The value of the NULL macro is an implementation-defined null pointer constant (7.17), which can be any integer constant expression with the value 0, or such an expression casted to (void*) (6.3.2.3). This includes values like 0, 0L, or even 0LL.\012In practice on common architectures, this will cause real crashes if sizeof(int) != sizeof(void*), and NULL is defined to 0 or any other null pointer constant that promotes to int.\012To reproduce you might be able to use this little code example on 64bit platforms. If the output includes "ERROR", the sentinel had only 4 out of 8 bytes initialized to zero and was not detected as the final argument to stop argument processing via va_arg(). Changing the 0 to (void*)0 or 0L will make the "ERROR" output go away.\012#include <stdarg.h>\012#include <stdio.h>\012\012void f(char *s, ...) {\012    va_list ap;\012    va_start(ap,s);\012    for (;;) {\012        char *p = va_arg(ap,char*);\012        printf("%018p, %s\n", p, (long)p & 255 ? p : "");\012        if(!p) break;\012    }\012    va_end(ap);\012}\012\012void g() {\012    char *s2 = "x";\012    char *s3 = "ERROR";\012\012    // changing 0 to 0L for the 7th argument (which is intended to act as sentinel) makes the error go away on x86_64\012    f("first", s2, s2, s2, s2, s2, 0, s3, (char*)0);\012}\012\012void h() {\012    int i;\012    volatile unsigned char a[1000];\012    for (i = 0; i<sizeof(a); i++)\012        a[i] = -1;\012}\012\012int main() {\012    h();\012    g();\012    return 0;\012}
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/file.c:375]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/file.c:381]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/file.c:383]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/file.c:1152]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/file.c:1160]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/file.c:1164]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/file.c:1166]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/file.c:1401]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/file.c:1485]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/file.c:1489]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/file.c:1535]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/file.c:4285]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/file.c:4305]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/file.c:4316]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/loader.c:2258]: (style, inconclusive) Statements following return, break, continue, goto or throw will never be executed.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/loader.c:2996]: (style) The scope of the variable 'module1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/loader.c:2996]: (style) The scope of the variable 'module2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/loader.c:2232]: (style) struct member 'section_data::target' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/loader.c:1829]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:435] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:445]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:457] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:463]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:468] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:473]: (performance) Buffer 'input' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:473] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:479]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:479] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:484]: (performance) Buffer 'input' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:484] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:485]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:490] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:496]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:490] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:502]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:608] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:616]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:829] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:839]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:868] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:874]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:923] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:924]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:929] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:930]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:935] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:936]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:941] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:942]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:950] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:951]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:959] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:960]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:965] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:966]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:975] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:976]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1173] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1179]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1173] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1185]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1173] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1191]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1173] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1197]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1173] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1203]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1173] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1209]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1173] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1215]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1173] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1222]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1173] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1228]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1429] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1435]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1429] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1441]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1429] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1447]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1429] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1453]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1429] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1459]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1429] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1465]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1429] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1471]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1429] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1478]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1429] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1484]: (performance) Buffer 'Expected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:181]: (warning) Division by result of sizeof(). memset() expects a size in bytes, did you intend to multiply instead?
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:184]: (warning) Division by result of sizeof(). memset() expects a size in bytes, did you intend to multiply instead?
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:190]: (warning) Division by result of sizeof(). memset() expects a size in bytes, did you intend to multiply instead?
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:194]: (warning) Division by result of sizeof(). memset() expects a size in bytes, did you intend to multiply instead?
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:204]: (warning) Division by result of sizeof(). memset() expects a size in bytes, did you intend to multiply instead?
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:207]: (warning) Division by result of sizeof(). memset() expects a size in bytes, did you intend to multiply instead?
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:218]: (warning) Division by result of sizeof(). memset() expects a size in bytes, did you intend to multiply instead?
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:223]: (warning) Division by result of sizeof(). memset() expects a size in bytes, did you intend to multiply instead?
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:230]: (warning) Division by result of sizeof(). memset() expects a size in bytes, did you intend to multiply instead?
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1956]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1959]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1962]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:1965]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:2416]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:2669]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/locale.c:3388]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/path.c:294]: (style) The scope of the variable 'dirptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/path.c:409]: (style) Variable 'id' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/path.c:1270]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/path.c:1274]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/loader.c:2225]: (style) struct member 'section_data::target' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:126]: (style) The scope of the variable 'pbuf' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:259]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:261]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:282]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:288]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:290]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:307]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:312]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:338]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:343]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:386]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:421]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:441]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:454]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:473]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:480]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:500]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:518]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:525]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:545]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:1584]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/pipe.c:1949]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/profile.c:149]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/profile.c:151]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/profile.c:158]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/profile.c:160]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/profile.c:866]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/profile.c:1117]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/process.c:3246]: (style) Redundant condition: !ret. 'ret || (!ret && GetLastError()==ERROR_NOT_SUPPORTED)' is equivalent to 'ret || GetLastError()==ERROR_NOT_SUPPORTED'
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/process.c:1285]: (style) The scope of the variable 'slen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/process.c:1867]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/process.c:2328]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/sync.c:222]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/sync.c:260]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/sync.c:262]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/sync.c:1333]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/sync.c:1334]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/sync.c:1340]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/sync.c:1341]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/sync.c:1347]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/sync.c:1352]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/sync.c:2629]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/thread.c:857]: (style) The scope of the variable 'error' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/thread.c:1967]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/time.c:182] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/time.c:183]: (performance) Variable 'wMonth' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/volume.c:66]: (style) The scope of the variable 'buffer2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/virtual.c:3080]: (style) The scope of the variable 'base' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/virtual.c:832]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/virtual.c:921]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/virtual.c:1263]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/virtual.c:1725]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/virtual.c:1726]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/virtual.c:1733]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/thread.c:1038]: (style) The scope of the variable 'stack' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/time.c:154]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/time.c:154]: (style) The scope of the variable 'year' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/time.c:1275]: (portability) Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/time.c:1307]: (portability) Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/virtual.c:677] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/virtual.c:678]: (performance) Variable 'dummy' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/virtual.c:2036]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/virtual.c:2210]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/tests/virtual.c:2212]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/volume.c:74]: (style) The scope of the variable 'buffer' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/volume.c:75]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/volume.c:906]: (style) The scope of the variable 'type' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/kernel32/volume.c:1171]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/dosmem.c:570]: (style) The scope of the variable 'next' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/dosexe.c:222]: (style) The scope of the variable 'par_psp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/dosexe.c:564]: (style) Variable 'stack' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/dosvm.c:281]: (style) The scope of the variable 'prev' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int09.c:158]: (style) The scope of the variable 'cnt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int09.c:158]: (style) The scope of the variable 'c2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int2f.c:1030] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int2f.c:1025]: (warning) Either the condition '!driver_request' is redundant or there is possible null pointer dereference: driver_request.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int2f.c:1031] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int2f.c:1025]: (warning) Either the condition '!driver_request' is redundant or there is possible null pointer dereference: driver_request.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int21.c:1239]: (style) The scope of the variable 'xfcb' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int21.c:1241]: (style) The scope of the variable 'pos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int21.c:1338]: (style) The scope of the variable 'xfcb' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int21.c:1383]: (style) The scope of the variable 'xfcb' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int21.c:1463]: (style) The scope of the variable 'xfcb' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int21.c:1467]: (style) The scope of the variable 'disk_transfer_area' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int21.c:1539]: (style) The scope of the variable 'xfcb' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int21.c:1612]: (style) The scope of the variable 'xfcb' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int21.c:1616]: (style) The scope of the variable 'disk_transfer_area' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int21.c:1687]: (style) The scope of the variable 'xfcb' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int21.c:1778]: (style) The scope of the variable 'xfcb' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int21.c:1782]: (style) The scope of the variable 'disk_transfer_area' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int31.c:647]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int67.c:199] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/int67.c:201]: (warning) Either the condition 'new_hindex>=256' is redundant or the array 'EMS_record.handle[256]' is accessed at index 256, which is out of bounds.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/ioports.c:257]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/ioports.c:780]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/ioports.c:792]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/ioports.c:475]: (style) The scope of the variable 'fd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/ioports.c:476]: (style) The scope of the variable 'timeout' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/ioports.c:478]: (style) The scope of the variable 'lasterror' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/ioports.c:656]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/ioports.c:692]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/local.c:1934]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/local.c:971]: (style) Variable 'pInfo' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/local.c:1244]: (style) Variable 'pInfo' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/ne_module.c:167]: (style) The scope of the variable 'ordinal' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/ne_module.c:173]: (style) The scope of the variable 'entry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/ne_module.c:779]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/ne_module.c:973]: (style) The scope of the variable 'main_module' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/ne_module.c:1320]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/ne_segment.c:522]: (style) The scope of the variable 'entry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/ne_segment.c:717]: (style) The scope of the variable 'pDLL' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/resource.c:299]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/resource.c:936]: (style) The scope of the variable 'pNameInfo' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/snoop.c:250]: (style) The scope of the variable 'max' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/thunk.c:1172] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/thunk.c:1161]: (warning) Either the condition 'buffer' is redundant or there is possible null pointer dereference: buffer.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/thunk.c:1173] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/thunk.c:1161]: (warning) Either the condition 'buffer' is redundant or there is possible null pointer dereference: buffer.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/thunk.c:1491]: (style) Variable 'x' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/thunk.c:1549]: (style) Variable 'x' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/vga.c:1029]: (style) The scope of the variable 'pal' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/vga.c:1240]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/vga.c:1582]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/krnl386.exe16/vga.c:1614]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/localspl/provider.c:527]: (style) The scope of the variable 'pm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/localspl/provider.c:690]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/localspl/tests/localmon.c:1187] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/localspl/tests/localmon.c:1193]: (performance) Variable 'needed' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/localspl/tests/localmon.c:1193] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/localspl/tests/localmon.c:1200]: (performance) Variable 'needed' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/localui/localui.c:269]: (style) The scope of the variable 'data' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/localui/tests/localui.c:69]: (style) The scope of the variable 'pi' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/lz32/tests/lzexpand_main.c:74]: (style) The scope of the variable 'shortname' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mapi32/tests/prop.c:917]: (style) The scope of the variable 'pRet' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mciavi32/mciavi.c:882]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mciavi32/mciavi.c:916]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mcicda/mcicda.c:115] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/mcicda/mcicda.c:119]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mciseq/mcimidi.c:617]: (style) Variable 'val' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mciwave/mciwave.c:1435] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/mciwave/mciwave.c:1436]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mciwave/mciwave.c:1436] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/mciwave/mciwave.c:1438]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mlang/mlang.c:520]: (style) The scope of the variable 'c1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mlang/tests/mlang.c:308] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/mlang/tests/mlang.c:317]: (performance) Buffer 'bufW' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mlang/tests/mlang.c:308] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/mlang/tests/mlang.c:326]: (performance) Buffer 'bufW' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mlang/tests/mlang.c:1335] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/mlang/tests/mlang.c:1347]: (performance) Buffer 'dest' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mlang/tests/mlang.c:1500] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/mlang/tests/mlang.c:1511]: (performance) Buffer 'dest' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mlang/tests/mlang.c:2155] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/mlang/tests/mlang.c:2162]: (performance) Buffer 'detected' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mlang/tests/mlang.c:2188]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mlang/tests/mlang.c:2199]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mlang/tests/mlang.c:2211]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mlang/tests/mlang.c:2212]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mlang/mlang.c:566]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mmdevapi/tests/mmdevenum.c:98]: (style) The scope of the variable 'temp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mmdevapi/tests/render.c:1156] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/mmdevapi/tests/render.c:1161]: (performance) Variable 'last' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mmsystem.dll16/mmsystem.c:463]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mountmgr.sys/device.c:138]: (style) The scope of the variable 'buffer' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mountmgr.sys/device.c:139]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mountmgr.sys/device.c:627]: (style) The scope of the variable 'link' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mpr/tests/mpr.c:215]: (style) The scope of the variable 'resource_buf' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mpr/tests/mpr.c:216]: (style) The scope of the variable 'password_buf' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mpr/tests/mpr.c:217]: (style) The scope of the variable 'prefix_buf' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mpr/tests/mpr.c:58]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mpr/tests/mpr.c:72]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mpr/tests/mpr.c:142]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mpr/tests/mpr.c:147]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mpr/wnet.c:385]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mpr/wnet.c:1433]: (style) The scope of the variable 'handles' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mpr/wnet.c:2214]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32.drv/wavemap.c:811] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32.drv/wavemap.c:814]: (performance) Variable 'nSamplesPerSec' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32/format.c:86]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32/format.c:521]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32/internal.c:364]: (style) The scope of the variable 's' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32/pcmconverter.c:326]: (style) The scope of the variable 'v' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32/pcmconverter.c:338]: (style) The scope of the variable 'v' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32/pcmconverter.c:350]: (style) The scope of the variable 'v' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32/pcmconverter.c:372]: (style) The scope of the variable 'v' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32/pcmconverter.c:442]: (style) The scope of the variable 'v' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32/pcmconverter.c:483]: (style) The scope of the variable 'v' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32/tests/msacm.c:674]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32/tests/msacm.c:715]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32/tests/msacm.c:750]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32/tests/msacm.c:752]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32/tests/msacm.c:790]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32/tests/msacm.c:796]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32/tests/msacm.c:807]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32/tests/msacm.c:812]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msacm32/tests/msacm.c:992]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscms/transform.c:262] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/mscms/transform.c:267]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscms/tests/profile.c:476] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/mscms/tests/profile.c:481]: (performance) Variable 'size' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscms/tests/profile.c:577] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/mscms/tests/profile.c:582]: (performance) Variable 'size' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscms/tests/profile.c:1243]: (style) The scope of the variable 'basename' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscoree/config.c:461]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscms/profile.c:1519] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/mscms/profile.c:1523]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscoree/corruntimehost.c:257]: (style) The scope of the variable 'get_hresult' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscoree/corruntimehost.c:1405]: (style) The scope of the variable 'image' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscoree/corruntimehost.c:1407]: (style) The scope of the variable 'assembly' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscoree/metahost.c:586] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/mscoree/metahost.c:590]: (performance) Variable 'attributes' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscoree/metahost.c:1230]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscoree/mscoree_main.c:645]: (style) The scope of the variable 'build_start' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscoree/mscoree_main.c:678]: (style) The scope of the variable 'mono_version' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscoree/tests/mscoree.c:428]: (style) The scope of the variable 'buffer' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscoree/tests/mscoree.c:373]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscoree/tests/mscoree.c:386]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscoree/tests/mscoree.c:398]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscoree/tests/mscoree.c:440]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscoree/tests/mscoree.c:446]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscoree/tests/mscoree.c:449]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mscoree/tests/mscoree.c:456]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msctf/context.c:118]: (style) The scope of the variable 'cookie' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msctf/context.c:816]: (style) The scope of the variable 'cursor' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msctf/msctf.c:497]: (style) The scope of the variable 'ats' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msdaps/row_server.c:619] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msdaps/row_server.c:83]: (style, inconclusive) The variable 'server' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msdaps/row_server.c:851] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msdaps/row_server.c:83]: (style, inconclusive) The variable 'server' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msdaps/row_server.c:1384] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msdaps/row_server.c:83]: (style, inconclusive) The variable 'server' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msdmo/dmoreg.c:155] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msdmo/dmoreg.c:158]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msdmo/dmoreg.c:215] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msdmo/dmoreg.c:218]: (performance) Variable 'hres' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msg711.acm/msg711.c:298]: (style) The scope of the variable 'aval' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msg711.acm/msg711.c:436]: (style) The scope of the variable 'uval' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msg711.acm/msg711.c:561]: (style) The scope of the variable 'w' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msg711.acm/msg711.c:593]: (style) The scope of the variable 'w' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/conpoint.c:328]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/editor.c:149]: (style) The scope of the variable 'nsparam' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/editor.c:266]: (style) The scope of the variable 'tmp_node' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/dispex.c:883]: (style) The scope of the variable 'n' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/dispex.c:908]: (style) The scope of the variable 'n' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/dispex.c:908]: (style) The scope of the variable 'c' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/dispex.c:543]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/htmlbody.c:130]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/htmlbody.c:122]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/htmlelem.c:107]: (style) The scope of the variable 'r' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/htmlevent.c:957]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/htmlevent.c:1063]: (style) The scope of the variable 'cp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/htmlelem.c:642]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/htmlelem.c:700]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/htmlelem.c:727]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/htmlframebase.c:345]: (style) The scope of the variable 'end' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/htmlframebase.c:412]: (style) The scope of the variable 'end' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/htmloption.c:587]: (style) Variable 'hres' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/htmlstyle.c:326]: (style) The scope of the variable 'c' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/htmlstyle.c:326]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/htmlstyle.c:516]: (style) The scope of the variable 'ptr2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/htmlstyle.c:2684]: (style) The scope of the variable 'ptr2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/htmlstyle.c:2729]: (style) The scope of the variable 'e' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/htmlwindow.c:2639]: (style) The scope of the variable 'prop' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/htmlwindow.c:2702]: (style) Variable 'args' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/loadopts.c:100]: (style) The scope of the variable 'last' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/npplugin.c:139]: (style) struct member '_NPFullPrint::pluginPrinted' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/npplugin.c:140]: (style) struct member '_NPFullPrint::printOne' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/npplugin.c:141]: (style) struct member '_NPFullPrint::platformPrint' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/npplugin.c:146]: (style) struct member '_NPEmbedPrint::platformPrint' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/navigate.c:1561]: (style) Variable 'hres' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/nsembed.c:305]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/nsio.c:177] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/nsio.c:3110]: (warning, inconclusive) Either the condition 'ptr' is redundant or there is possible null pointer dereference: str.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/nsio.c:466]: (style) The scope of the variable 'header' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/nsio.c:466]: (style) The scope of the variable 'value' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/oleobj.c:949]: (style) Variable 'hres' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/oleobj.c:183]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/script.c:1612]: (style) The scope of the variable 'disp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/task.c:263]: (style) The scope of the variable 'disp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/activex.c:477]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/events.c:976]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/dom.c:2566]: (error) Possible null pointer dereference: elem_types
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/dom.c:2721]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/dom.c:2753]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/dom.c:6051]: (style) The scope of the variable 'res' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/dom.c:8133]: (style) The scope of the variable 'elem3' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/dom.c:9042]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/dom.c:9888]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/htmldoc.c:1371]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/htmldoc.c:1378]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/htmldoc.c:1385]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/htmldoc.c:6018]: (style) Variable 'expect_Exec_ShellDocView_84' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/htmldoc.c:6099]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/xmlhttprequest.c:509] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/xmlhttprequest.c:513]: (performance) Variable 'hres' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/xmlhttprequest.c:1000]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/style.c:1161] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/style.c:1173]: (performance) Variable 'str' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/style.c:1173] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/style.c:1185]: (performance) Variable 'str' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/style.c:1185] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/style.c:1192]: (performance) Variable 'str' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/tests/style.c:3046]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/txtrange.c:1439]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/xmlhttprequest.c:69]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/mshtml/xmlhttprequest.c:124]: (style) Variable 'nsres' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/action.c:7817] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/action.c:7822]: (performance) Variable 'handled' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/action.c:319]: (style) The scope of the variable 'prop' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/action.c:319]: (style) The scope of the variable 'val' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/action.c:2278]: (style) The scope of the variable 'n' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/action.c:2337]: (style) The scope of the variable 'child' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/action.c:2418]: (style) The scope of the variable 'primary_folder' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/action.c:2809]: (style) The scope of the variable 'new_ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/action.c:2809]: (style) The scope of the variable 'old_ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/action.c:5062]: (style) The scope of the variable 'val' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/action.c:5063]: (style) The scope of the variable 'prop' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/action.c:5063]: (style) The scope of the variable 'key' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/action.c:5253]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/action.c:7571]: (style) The scope of the variable 'pathA' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/automation.c:384]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/automation.c:923]: (style) The scope of the variable 'szString' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/automation.c:1371]: (style) The scope of the variable 'szString' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/custom.c:563] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/custom.c:570]: (performance) Variable 'r' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/custom.c:692]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/database.c:468]: (style) The scope of the variable 'ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/database.c:922]: (style) The scope of the variable 'sep' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/dialog.c:352]: (error, inconclusive) Possible null pointer dereference: font
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/dialog.c:3128]: (style) The scope of the variable 'num' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/dialog.c:3365]: (style) The scope of the variable 'q' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/dialog.c:3015]: (style) Variable 'ptr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/files.c:91]: (style) The scope of the variable 'file_version' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/files.c:92]: (style) The scope of the variable 'font_version' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/files.c:93]: (style) The scope of the variable 'state' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/files.c:1363]: (style) The scope of the variable 'ver' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/font.c:202]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/font.c:202]: (style) The scope of the variable 'q' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/handle.c:111]: (style) The scope of the variable 'entry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/handle.c:135]: (style) The scope of the variable 'entry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/media.c:921]: (style) Variable 'rc' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/install.c:548]: (style) The scope of the variable 'child' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/msi.c:1981]: (style) The scope of the variable 'file' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/msi.c:2911]: (style) The scope of the variable 'path' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/msi.c:4040]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/msi.c:3408]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/msiquery.c:146]: (style) The scope of the variable 'res' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/msiquery.c:211]: (style) The scope of the variable 'res' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/patch.c:129]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/package.c:1086]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/package.c:1513]: (style) Variable 'ptr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/record.c:362] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/record.c:366]: (performance) Variable 'r' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/registry.c:1853] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/registry.c:1857]: (performance) Variable 'r' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/registry.c:318]: (style) The scope of the variable 'x' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/registry.c:677]: (style) The scope of the variable 'usersid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/registry.c:702]: (style) The scope of the variable 'usersid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/registry.c:757]: (style) The scope of the variable 'usersid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/registry.c:781]: (style) The scope of the variable 'usersid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/registry.c:809]: (style) The scope of the variable 'usersid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/registry.c:859]: (style) The scope of the variable 'usersid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/streams.c:604]: (style) The scope of the variable 'name' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/streams.c:605]: (style) The scope of the variable 'encname' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/string.c:181]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/string.c:181]: (style) The scope of the variable 'c' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/string.c:406]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/string.c:406]: (style) The scope of the variable 'c' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/table.c:510] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/table.c:707]: (warning) Either the condition 'colinfo' is redundant or there is possible null pointer dereference: colinfo.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/table.c:511] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/table.c:707]: (warning) Either the condition 'colinfo' is redundant or there is possible null pointer dereference: colinfo.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/table.c:513] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/table.c:707]: (warning) Either the condition 'colinfo' is redundant or there is possible null pointer dereference: colinfo.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/table.c:516] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/table.c:707]: (warning) Either the condition 'colinfo' is redundant or there is possible null pointer dereference: colinfo.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/table.c:517] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/table.c:707]: (warning) Either the condition 'colinfo' is redundant or there is possible null pointer dereference: colinfo.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/table.c:1626]: (style) The scope of the variable 'idx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/table.c:1626]: (style) The scope of the variable 'c' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/automation.c:2228]: (style) The scope of the variable 'idx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/format.c:1195]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/format.c:1227]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/format.c:1235]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/format.c:1265]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/db.c:9357]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/install.c:3002]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/install.c:3003]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/install.c:3539]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/install.c:4500]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8575] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8586]: (performance) Variable 'usersz' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8586] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8596]: (performance) Variable 'usersz' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8607] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8618]: (performance) Variable 'orgsz' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8618] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8628]: (performance) Variable 'orgsz' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8639] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8650]: (performance) Variable 'serialsz' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8719] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8729]: (performance) Variable 'usersz' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8729] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8740]: (performance) Variable 'usersz' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8729] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8740]: (performance) Variable 'orgsz' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8782] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8783]: (performance) Variable 'usersz' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8795] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8796]: (performance) Variable 'usersz' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8811] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8812]: (performance) Variable 'usersz' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8879] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8889]: (performance) Variable 'usersz' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8889] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8900]: (performance) Variable 'usersz' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8889] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8900]: (performance) Variable 'orgsz' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:8996] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:9006]: (performance) Variable 'usersz' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:9006] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:9017]: (performance) Variable 'usersz' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:9006] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:9017]: (performance) Variable 'orgsz' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/msi.c:1958]: (style) The scope of the variable 'x' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/package.c:4051] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/package.c:4057]: (performance) Buffer 'path' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/package.c:4788]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/package.c:8763]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/package.c:8769]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/package.c:8775]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/package.c:8784]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/package.c:8789]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/tests/package.c:8792]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msi/upgrade.c:109] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msi/upgrade.c:114]: (performance) Variable 'rc' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msrle32/msrle32.c:1632]: (style) The scope of the variable 'rgbIn' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msrle32/msrle32.c:1633]: (style) The scope of the variable 'rgbOut' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msrle32/msrle32.c:1772]: (style) The scope of the variable 'size' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/msvcirt.c:628] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/msvcirt.h:24]: (style, inconclusive) The variable 'streampos' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/msvcirt.c:766]: (style) The scope of the variable 'chunk' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/msvcirt.c:1210]: (style) The scope of the variable 'count' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/msvcirt.c:1210]: (style) The scope of the variable 'mode' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/msvcirt.c:1211]: (style) The scope of the variable 'ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/msvcirt.c:1252]: (style) The scope of the variable 'buffer_size' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/msvcirt.c:1252]: (style) The scope of the variable 'read_bytes' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/msvcirt.c:1754]: (style) The scope of the variable 'ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/msvcirt.c:2670]: (style) The scope of the variable 'prefix_str' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/msvcirt.c:2670]: (style) The scope of the variable 'number_str' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/msvcirt.c:2709]: (style) The scope of the variable 'prefix_str' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/msvcirt.c:2709]: (style) The scope of the variable 'number_str' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/msvcirt.c:2710]: (style) The scope of the variable 'prec' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/msvcirt.c:2711]: (style) The scope of the variable 'str_length' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/msvcirt.c:3583]: (style) The scope of the variable 'ch' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/msvcirt.c:3583]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/msvcirt.c:3645]: (style) The scope of the variable 'ch' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/msvcirt.c:3885]: (style) The scope of the variable 'buffer' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:78]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:85]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:119]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:120]: (portability) Casting from float* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:1444] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:1445]: (performance) Variable 'result_handle' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:1454] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:1455]: (performance) Variable 'result_handle' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:1483] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:1484]: (performance) Variable 'result_handle' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:1493] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:1494]: (performance) Variable 'result_handle' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:593]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:612]: (style) The scope of the variable 'diff' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:1092]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:233]: (style) struct member 'critical_section::unknown' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:235]: (style) struct member 'critical_section::tail' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:1330]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:1343]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:1374]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:1375]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:1644]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:1645]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:1646]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp120/tests/msvcp120.c:1647]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/tests/msvcirt.c:174]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/tests/msvcirt.c:181]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/tests/msvcirt.c:5177] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/tests/msvcirt.c:5184]: (performance) Buffer 'buffer' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/tests/msvcirt.c:2801]: (style) The scope of the variable 'pret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/tests/msvcirt.c:2802]: (style) The scope of the variable 'pret2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/tests/msvcirt.c:5522]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/tests/msvcirt.c:5631]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/tests/msvcirt.c:5744]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/tests/msvcirt.c:7020]: (style) Variable 'pios' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcirt/tests/msvcirt.c:7174]: (style) Variable 'pios' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/ios.c:1600] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/msvcp.h:28]: (style, inconclusive) The variable 'streamsize' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/ios.c:1757] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/msvcp.h:28]: (style, inconclusive) The variable 'streamsize' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/ios.c:2518] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/msvcp.h:28]: (style, inconclusive) The variable 'streamsize' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/ios.c:2549] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/msvcp.h:28]: (style, inconclusive) The variable 'streamsize' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/ios.c:2706] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/msvcp.h:28]: (style, inconclusive) The variable 'streamsize' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:822]: (style) The scope of the variable 'state' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:825]: (style) The scope of the variable 'next' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:940]: (style) The scope of the variable 'wstr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:941]: (style) The scope of the variable 'str' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1057]: (style) The scope of the variable 'testus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1057]: (style) The scope of the variable 'nextus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1062]: (style) The scope of the variable 'state' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1064]: (style) The scope of the variable 'next' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1065]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1134]: (style) The scope of the variable 'testus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1134]: (style) The scope of the variable 'nextus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1139]: (style) The scope of the variable 'state' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1141]: (style) The scope of the variable 'next' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1204]: (style) The scope of the variable 'testus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1204]: (style) The scope of the variable 'nextus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1209]: (style) The scope of the variable 'state' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1211]: (style) The scope of the variable 'next' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1268]: (style) The scope of the variable 'testus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1268]: (style) The scope of the variable 'nextus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1273]: (style) The scope of the variable 'state' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1276]: (style) The scope of the variable 'next' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1333]: (style) The scope of the variable 'testus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1333]: (style) The scope of the variable 'nextus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1333]: (style) The scope of the variable 'peekus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1338]: (style) The scope of the variable 'state' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1339]: (style) The scope of the variable 'next' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1339]: (style) The scope of the variable 'peek' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1396]: (style) The scope of the variable 'rpos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1398]: (style) The scope of the variable 'file' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1535]: (style) The scope of the variable 'state' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1538]: (style) The scope of the variable 'cstr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1539]: (style) The scope of the variable 'wcstr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:83]: (style) struct member '_Cvtvec::page' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:169]: (style) struct member '_ios_base::except' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:218]: (style) struct member 'basic_filebuf_char::state0' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:221]: (style) struct member 'basic_filebuf_char::close' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:223]: (style) struct member 'basic_filebuf_char::file' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:229]: (style) struct member 'basic_filebuf_wchar::state0' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:232]: (style) struct member 'basic_filebuf_wchar::close' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:234]: (style) struct member 'basic_filebuf_wchar::file' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:239]: (style) struct member 'basic_stringbuf_char::pendsave' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:240]: (style) struct member 'basic_stringbuf_char::seekhigh' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:241]: (style) struct member 'basic_stringbuf_char::alsize' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:243]: (style) struct member 'basic_stringbuf_char::allocator' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:248]: (style) struct member 'basic_stringbuf_wchar::pendsave' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:249]: (style) struct member 'basic_stringbuf_wchar::seekhigh' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:250]: (style) struct member 'basic_stringbuf_wchar::alsize' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:252]: (style) struct member 'basic_stringbuf_wchar::allocator' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:259]: (style) struct member 'basic_ios_char::fillch' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:266]: (style) struct member 'basic_ios_wchar::fillch' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/ios.c:1344]: (style) struct member '_test_istream_peek::peek' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/string.c:309] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/string.c:310]: (performance) Variable 'str' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/string.c:598] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/string.c:599]: (performance) Variable 'str' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/string.c:519]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp60/tests/string.c:553]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/msvcp90.h:29]: (error) syntax error
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/cxx.h:429] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/cxx.h:323]: (style, inconclusive) The variable 'type_info' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/locale.c:518] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/msvcp90.h:276]: (style, inconclusive) The variable 'locale' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/locale.c:624] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/msvcp90.h:276]: (style, inconclusive) The variable 'locale' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/locale.c:516] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/locale.c:94]: (style, inconclusive) The function parameter 'category' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/locale.c:551] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/locale.c:94]: (style, inconclusive) The function parameter 'category' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/locale.c:622] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/locale.c:94]: (style, inconclusive) The function parameter 'category' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/locale.c:649] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/locale.c:94]: (style, inconclusive) The function parameter 'category' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/locale.c:11128] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/locale.c:94]: (style, inconclusive) The function parameter 'category' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/ios.c:4052]: (style) The scope of the variable 'c' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/ios.c:6723]: (style) The scope of the variable 'c' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/ios.c:7709]: (style) The scope of the variable 'c' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/locale.c:10297] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/locale.c:10298]: (performance) Buffer 'new_facetvec' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/locale.c:751]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/locale.c:9685]: (style) The scope of the variable 'c' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/locale.c:11057]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/locale.c:9574]: (style) The scope of the variable 'c' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/string.c:1592]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/string.c:1592]: (style) The scope of the variable 'end' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/string.c:1827]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/string.c:1827]: (style) The scope of the variable 'end' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/string.c:1876]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/string.c:1928]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/string.c:3528]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/string.c:3528]: (style) The scope of the variable 'end' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/string.c:3585]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/string.c:3585]: (style) The scope of the variable 'end' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/string.c:3642]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/string.c:3703]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1060]: (style) The scope of the variable 'state' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1064]: (style) The scope of the variable 'next' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1191]: (style) The scope of the variable 'testus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1191]: (style) The scope of the variable 'nextus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1196]: (style) The scope of the variable 'state' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1199]: (style) The scope of the variable 'next' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1336]: (style) The scope of the variable 'wstr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1337]: (style) The scope of the variable 'str' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1453]: (style) The scope of the variable 'testus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1453]: (style) The scope of the variable 'nextus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1458]: (style) The scope of the variable 'state' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1460]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1460]: (style) The scope of the variable 'next' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1532]: (style) The scope of the variable 'testus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1532]: (style) The scope of the variable 'nextus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1537]: (style) The scope of the variable 'state' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1539]: (style) The scope of the variable 'next' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1602]: (style) The scope of the variable 'testus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1602]: (style) The scope of the variable 'nextus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1607]: (style) The scope of the variable 'state' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1609]: (style) The scope of the variable 'next' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1666]: (style) The scope of the variable 'testus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1666]: (style) The scope of the variable 'nextus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1671]: (style) The scope of the variable 'state' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1674]: (style) The scope of the variable 'next' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1731]: (style) The scope of the variable 'testus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1731]: (style) The scope of the variable 'nextus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1731]: (style) The scope of the variable 'peekus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1736]: (style) The scope of the variable 'state' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1737]: (style) The scope of the variable 'next' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1737]: (style) The scope of the variable 'peek' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1794]: (style) The scope of the variable 'rpos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1796]: (style) The scope of the variable 'file' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1937]: (style) The scope of the variable 'state' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1940]: (style) The scope of the variable 'cstr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1941]: (style) The scope of the variable 'wcstr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:2141]: (style) The scope of the variable 'str' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:2261]: (style) The scope of the variable 'state' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:47]: (style) struct member 'mutex::mutex' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:74]: (style) struct member '_Cvtvec::page' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:161]: (style) struct member '_ios_base::except' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:211]: (style) struct member 'basic_filebuf_char::putback' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:212]: (style) struct member 'basic_filebuf_char::wrotesome' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:214]: (style) struct member 'basic_filebuf_char::close' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:215]: (style) struct member 'basic_filebuf_char::file' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:221]: (style) struct member 'basic_filebuf_wchar::putback' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:222]: (style) struct member 'basic_filebuf_wchar::wrotesome' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:224]: (style) struct member 'basic_filebuf_wchar::close' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:225]: (style) struct member 'basic_filebuf_wchar::file' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:230]: (style) struct member 'basic_stringbuf_char::seekhigh' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:232]: (style) struct member 'basic_stringbuf_char::allocator' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:237]: (style) struct member 'basic_stringbuf_wchar::seekhigh' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:239]: (style) struct member 'basic_stringbuf_wchar::allocator' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:246]: (style) struct member 'basic_ios_char::fillch' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:253]: (style) struct member 'basic_ios_wchar::fillch' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:400]: (style) union member 'Anonymous0::buf' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:401]: (style) union member 'Anonymous0::ptr' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:412]: (style) union member 'Anonymous1::buf' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:413]: (style) union member 'Anonymous1::ptr' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/ios.c:1742]: (style) struct member '_test_istream_peek::peek' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/misc.c:33]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/misc.c:40]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/misc.c:47]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/misc.c:676] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/misc.c:677]: (performance) Variable 'ptr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/misc.c:577]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/misc.c:71]: (style) union member 'Anonymous0::buf' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/misc.c:72]: (style) union member 'Anonymous0::ptr' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/misc.c:95]: (style) struct member '_locale__Locimp::catmask' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/misc.c:96]: (style) struct member '_locale__Locimp::transparent' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/string.c:341] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/string.c:342]: (performance) Variable 'str' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/string.c:625] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/string.c:626]: (performance) Variable 'str' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/string.c:546]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/string.c:580]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/string.c:727]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/string.c:32]: (style) union member 'Anonymous0::buf' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/string.c:33]: (style) union member 'Anonymous0::ptr' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/string.c:45]: (style) union member 'Anonymous1::buf' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcp90/tests/string.c:46]: (style) union member 'Anonymous1::ptr' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr120/tests/msvcr120.c:119]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr120/tests/msvcr120.c:126]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr120/tests/msvcr120.c:442]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr120/tests/msvcr120.c:635]: (style) The scope of the variable 'r' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:1477] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:165]: (style, inconclusive) The variable 'this_ptr_offsets' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/msvcrt.h:84]: (error) syntax error
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:984]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:1487]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:162]: (style) struct member 'this_ptr_offsets::this_offset' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:163]: (style) struct member 'this_ptr_offsets::vbase_descr' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:164]: (style) struct member 'this_ptr_offsets::vbase_offset' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:210]: (style) struct member '__cxx_exception_type::destructor' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:211]: (style) struct member '__cxx_exception_type::custom_handler' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:1474]: (style) struct member 'Anonymous0::this_offset' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:1475]: (style) struct member 'Anonymous0::vbase_descr' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:1476]: (style) struct member 'Anonymous0::vbase_offset' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:1173]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:1175]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:1176]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:183] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:145]: (style, inconclusive) The variable 'type_info' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:142]: (style) struct member '__type_info::vtable' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:144]: (style) struct member '__type_info::mangled' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:183]: (style) struct member '__cxx_type_info::type_info' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:185]: (style) struct member '__cxx_type_info::size' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:186]: (style) struct member '__cxx_type_info::copy_ctor' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:201]: (style) struct member '__cxx_type_info_table::info' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:218]: (style) struct member 'cxx_exception_type::destructor' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:219]: (style) struct member 'cxx_exception_type::custom_handler' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcr90/tests/msvcr90.c:220]: (style) struct member 'cxx_exception_type::type_info_table' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/cpp.c:834] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/cpp.c:843]: (performance) Variable 'name' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/cpp.c:1100]: (style) The scope of the variable 'name' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/cpp.c:1330]: (style) The scope of the variable 'name' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/cpp.c:922]: (style) struct member 'Anonymous0::this_offset' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/cpp.c:923]: (style) struct member 'Anonymous0::vbase_descr' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/cpp.c:924]: (style) struct member 'Anonymous0::vbase_offset' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/cpp.c:935]: (style) struct member '_rtti_object_hierarchy::attributes' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/cpp.c:936]: (style) struct member '_rtti_object_hierarchy::array_len' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/file.c:135]: (style) The scope of the variable 'c' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/file.c:354]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/file.c:511]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/file.c:1987]: (style) The scope of the variable 'nwritten' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/file.c:422]: (style) Variable 'c' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/file.c:395]: (style) Variable 'j' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/file.c:1311]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/cpp.c:920]: (style) struct member '_rtti_base_descriptor::num_base_classes' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/file.c:1526]: (style) Obsolescent function 'tmpnam' called. It is recommended to use 'tmpfile', 'mkstemp' or 'mkdtemp' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/file.c:1532]: (style) Obsolescent function 'tmpnam' called. It is recommended to use 'tmpfile', 'mkstemp' or 'mkdtemp' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/file.c:556]: (error) Read operation on a file that was opened only for writing.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/file.c:580]: (error) Write operation on a file that was opened only for reading.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/file.c:1609]: (error) Used file that is not opened.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/file.c:1611]: (error) Used file that is not opened.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/file.c:1593]: (error) Resource leak: stream3
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/file.c:1600]: (error) Resource leak: stream4
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/file.c:1609]: (error) Deallocating a deallocated pointer: stream2
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/file.c:1723]: (error) Dereferencing 'file' after it is deallocated / released
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/file.c:1600]: (error) Null pointer dereference
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/heap.c:92]: (style) The scope of the variable 'mem1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/heap.c:92]: (style) The scope of the variable 'mem2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/heap.c:164]: (style) The scope of the variable 'mem1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/heap.c:164]: (style) The scope of the variable 'mem2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:78]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:79]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:80]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:81]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:82]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:83]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:84]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:85]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:86]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:87]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:88]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:89]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:90]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:91]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:93]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:94]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:95]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:96]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:97]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:98]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:99]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/headers.c:100]: (style) Variable 'a' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/heap.c:448]: (error) Common realloc mistake: 'mem' nulled but not freed upon failure
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/heap.c:493]: (error) Common realloc mistake: 'mem' nulled but not freed upon failure
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/misc.c:31]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/locale.c:153]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/misc.c:38]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/scanf.c:109]: (warning) %Lf in format string (no. 1) requires 'long double *' but the argument type is 'double *'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/scanf.c:155]: (warning) %hd in format string (no. 1) requires 'short *' but the argument type is 'signed int *'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/scanf.c:160]: (warning) %hhd in format string (no. 1) requires 'char *' but the argument type is 'signed int *'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/scanf.c:209]: (warning) %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/scanf.c:59]: (portability) '(void*)(ULONG_PTR)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. Arithmetic operations on 'void *' is a GNU C extension, which defines the 'sizeof(void)' to be 1.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/scanf.c:60]: (portability) '(void*)(ULONG_PTR)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. Arithmetic operations on 'void *' is a GNU C extension, which defines the 'sizeof(void)' to be 1.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/scanf.c:122]: (warning) scanf without field width limits can crash with huge input data. Add a field width specifier to fix this problem:\012    %s => %20s\012\012Sample program that can crash:\012\012#include <stdio.h>\012int main()\012{\012    char c[5];\012    scanf("%s", c);\012    return 0;\012}\012\012Typing in 5 or more characters may make the program crash. The correct usage here is 'scanf("%4s", c);', as the maximum field width does not include the terminating null byte.\012Source: http://linux.die.net/man/3/scanf\012Source: http://www.opensource.apple.com/source/xnu/xnu-1456.1.26/libkern/stdio/scanf.c
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/scanf.c:135]: (warning) scanf without field width limits can crash with huge input data. Add a field width specifier to fix this problem:\012    %s => %20s\012\012Sample program that can crash:\012\012#include <stdio.h>\012int main()\012{\012    char c[5];\012    scanf("%s", c);\012    return 0;\012}\012\012Typing in 5 or more characters may make the program crash. The correct usage here is 'scanf("%4s", c);', as the maximum field width does not include the terminating null byte.\012Source: http://linux.die.net/man/3/scanf\012Source: http://www.opensource.apple.com/source/xnu/xnu-1456.1.26/libkern/stdio/scanf.c
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/scanf.c:236]: (warning) scanf without field width limits can crash with huge input data. Add a field width specifier to fix this problem:\012    %s => %20s\012\012Sample program that can crash:\012\012#include <stdio.h>\012int main()\012{\012    char c[5];\012    scanf("%s", c);\012    return 0;\012}\012\012Typing in 5 or more characters may make the program crash. The correct usage here is 'scanf("%4s", c);', as the maximum field width does not include the terminating null byte.\012Source: http://linux.die.net/man/3/scanf\012Source: http://www.opensource.apple.com/source/xnu/xnu-1456.1.26/libkern/stdio/scanf.c
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/scanf.c:250]: (warning) scanf without field width limits can crash with huge input data. Add a field width specifier to fix this problem:\012    %s => %20s\012\012Sample program that can crash:\012\012#include <stdio.h>\012int main()\012{\012    char c[5];\012    scanf("%s", c);\012    return 0;\012}\012\012Typing in 5 or more characters may make the program crash. The correct usage here is 'scanf("%4s", c);', as the maximum field width does not include the terminating null byte.\012Source: http://linux.die.net/man/3/scanf\012Source: http://www.opensource.apple.com/source/xnu/xnu-1456.1.26/libkern/stdio/scanf.c
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:299]: (warning) 'I' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:304]: (warning) 'I' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:326]: (warning) %zx in format string (no. 1) requires 'size_t' but the argument type is 'signed int'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:465]: (warning) %Ix in format string (no. 1) requires 'size_t' but the argument type is 'signed int'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:536]: (error) sprintf format string requires 1 parameter but only 0 are given.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:551]: (error) sprintf format string requires 1 parameter but only 0 are given.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:556]: (error) sprintf format string requires 8 parameters but only 0 are given.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:647]: (warning) %p in format string (no. 1) requires an address but the argument type is 'signed int'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:660]: (warning) %s in format string (no. 1) requires 'char *' but the argument type is 'signed int'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:670]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:680]: (warning) 'h' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:685]: (warning) 'z' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:690]: (warning) 'j' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:41]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:48]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:55]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:720] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:724]: (performance) Variable 'r' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:724] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:726]: (performance) Variable 'r' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:726] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:730]: (performance) Variable 'r' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:884]: (warning) scanf without field width limits can crash with huge input data. Add a field width specifier to fix this problem:\012    %s => %20s\012\012Sample program that can crash:\012\012#include <stdio.h>\012int main()\012{\012    char c[5];\012    scanf("%s", c);\012    return 0;\012}\012\012Typing in 5 or more characters may make the program crash. The correct usage here is 'scanf("%4s", c);', as the maximum field width does not include the terminating null byte.\012Source: http://linux.die.net/man/3/scanf\012Source: http://www.opensource.apple.com/source/xnu/xnu-1456.1.26/libkern/stdio/scanf.c
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:924]: (warning) scanf without field width limits can crash with huge input data. Add a field width specifier to fix this problem:\012    %s => %20s\012\012Sample program that can crash:\012\012#include <stdio.h>\012int main()\012{\012    char c[5];\012    scanf("%s", c);\012    return 0;\012}\012\012Typing in 5 or more characters may make the program crash. The correct usage here is 'scanf("%4s", c);', as the maximum field width does not include the terminating null byte.\012Source: http://linux.die.net/man/3/scanf\012Source: http://www.opensource.apple.com/source/xnu/xnu-1456.1.26/libkern/stdio/scanf.c
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:660]: (error) Null pointer dereference
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:492]: (warning) The compared strings, '"hello"' and '"hello"', are always identical. Therefore the comparison is unnecessary and looks suspicious.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:537]: (warning) The compared strings, '"%b"' and '"b"', are always unequal. Therefore the comparison is unnecessary and looks suspicious.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:552]: (warning) The compared strings, '"%3h"' and '""', are always unequal. Therefore the comparison is unnecessary and looks suspicious.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:557]: (warning) The compared strings, '"%j%k%m%..' and '"jkmqrtv..', are always unequal. Therefore the comparison is unnecessary and looks suspicious.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/printf.c:716]: (warning) The compared strings, '"%0"' and '"%0"', are always identical. Therefore the comparison is unnecessary and looks suspicious.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/time.c:879]: (style) The scope of the variable 's' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/time.c:879]: (style) The scope of the variable 'e' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/time.c:81]: (portability) Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/time.c:213]: (portability) Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/time.c:318]: (portability) Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/time.c:320]: (portability) Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/time.c:330]: (portability) Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/time.c:341]: (portability) Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/time.c:343]: (portability) Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/time.c:612]: (error) Null pointer dereference
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/time.c:616]: (error) Null pointer dereference
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:125] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:127]: (performance) Buffer 'from' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:132] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:135]: (performance) Buffer 'to' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:133] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:141]: (performance) Buffer 'from' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:133] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:143]: (performance) Buffer 'from' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2316] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2317]: (performance) Buffer 'dest' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2323] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2324]: (performance) Buffer 'dest' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2330] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2331]: (performance) Buffer 'dest' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2337] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2338]: (performance) Buffer 'dest' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2344] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2345]: (performance) Buffer 'dest' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2352] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2353]: (performance) Buffer 'dest' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2361] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2362]: (performance) Buffer 'dest' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2370] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2371]: (performance) Buffer 'dest' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:1323]: (style) The scope of the variable 'exp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:1323]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:1462]: (style) The scope of the variable 'strret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:1437]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2678]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2679]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2683]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2854]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2856]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2869]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2871]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2873]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:3080]: (style) Variable 'r' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:1466]: (portability) Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:1472]: (portability) Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:1478]: (portability) Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2046]: (style) Obsolescent function 'gcvt' called. It is recommended to use 'sprintf' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2500]: (portability) Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:1775]: (error) Null pointer dereference
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:1781]: (error) Null pointer dereference
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:1853]: (error) Null pointer dereference
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2915]: (error) Null pointer dereference
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2968]: (error) Null pointer dereference
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2799]: (warning) The compared strings, '"test"' and '"test"', are always identical. Therefore the comparison is unnecessary and looks suspicious.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2801]: (warning) The compared strings, '"a"' and '"z"', are always unequal. Therefore the comparison is unnecessary and looks suspicious.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2803]: (warning) The compared strings, '"z"' and '"a"', are always unequal. Therefore the comparison is unnecessary and looks suspicious.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2805]: (warning) The compared strings, '"\245"' and '"\271"', are always unequal. Therefore the comparison is unnecessary and looks suspicious.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2813]: (warning) The compared strings, '"test"' and '"test"', are always identical. Therefore the comparison is unnecessary and looks suspicious.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2815]: (warning) The compared strings, '"a"' and '"z"', are always unequal. Therefore the comparison is unnecessary and looks suspicious.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2817]: (warning) The compared strings, '"z"' and '"a"', are always unequal. Therefore the comparison is unnecessary and looks suspicious.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2819]: (warning) The compared strings, '"\245"' and '"\271"', are always unequal. Therefore the comparison is unnecessary and looks suspicious.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:2821]: (warning) The compared strings, '"a"' and '"\271"', are always unequal. Therefore the comparison is unnecessary and looks suspicious.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:3097]: (warning) The compared strings, 'NULL' and 'NULL', are identical. This could be a logic bug.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvcrt/tests/string.c:3106]: (warning) The compared strings, 'a' and 'a', are identical. This could be a logic bug.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvfw32/mciwnd.c:1178]: (style) The scope of the variable 'cmdW' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvfw32/msvideo_main.c:230]: (style) The scope of the variable 's' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvfw32/msvideo_main.c:846]: (style) The scope of the variable 'ic' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvfw32/tests/msvfw.c:235]: (style) The scope of the variable 'frame' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvfw32/tests/msvfw.c:292]: (style) The scope of the variable 'fcc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvidc32/msvideo1.c:77]: (style) The scope of the variable 'block_ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvidc32/msvideo1.c:181]: (style) The scope of the variable 'block_ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msvideo.dll16/msvideo16.c:864]: (style) The scope of the variable 's' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/dispex.c:413]: (style) The scope of the variable 'n' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/dispex.c:413]: (style) The scope of the variable 'c' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/mxwriter.c:225]: (style) The scope of the variable 'n' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/mxwriter.c:225]: (style) The scope of the variable 'c' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/httpreq.c:1649]: (warning, inconclusive) Multiplying sizeof() with sizeof() indicates a logic error.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/schema.c:875]: (style) The scope of the variable 'schema4' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/schema.c:875]: (style) The scope of the variable 'schema5' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/schema.c:1150]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/schema.c:1363]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/schema.c:1378]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/saxreader.c:5423]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/xmlview.c:184]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/xdr.c:147]: (style) The scope of the variable 'str' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/xdr.c:337]: (style) The scope of the variable 'tmp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:2071] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:2075]: (performance) Variable 'str' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:5517] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:5539]: (performance) Variable 'pNextChild' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:8402]: (warning, inconclusive) Multiplying sizeof() with sizeof() indicates a logic error.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:2497]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:2499]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:2503]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:2544]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:2547]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:2549]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:2554]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:2912]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:4000]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:4014]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:4028]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:4042]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:4056]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:4070]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:4084]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:4098]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:4112]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:4126]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:6585]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:7059]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:7267]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:7272]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:7806]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:7845]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:7847]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:8573]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:8814]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:8843]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:8856]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:8876]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:8881]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:8883]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:8889]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:8890]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:8898]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:9036]: (style) Variable '_expect_ref' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:9926]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/msxml3/tests/domdoc.c:11327]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/netapi32/nbnamecache.c:161]: (style) Variable 'printName' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/netapi32/netapi32.c:1367]: (style) The scope of the variable 'val' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/netapi32/nbt.c:561]: (style) Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/netcfgx/tests/netcfgx.c:59]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/netcfgx/tests/netcfgx.c:62]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/netprofm/tests/list.c:40]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/netprofm/tests/list.c:41]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/netprofm/tests/list.c:47]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:266]: (style) struct member 'linux_cdrom_generic_command::cmd' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:267]: (style) struct member 'linux_cdrom_generic_command::buffer' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:268]: (style) struct member 'linux_cdrom_generic_command::buflen' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:269]: (style) struct member 'linux_cdrom_generic_command::stat' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:271]: (style) struct member 'linux_cdrom_generic_command::data_direction' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:272]: (style) struct member 'linux_cdrom_generic_command::quiet' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:273]: (style) struct member 'linux_cdrom_generic_command::timeout' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:274]: (style) struct member 'linux_cdrom_generic_command::reserved' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:97]: (style) struct member 'dk_scsi_command_t::attribute' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:98]: (style) struct member 'dk_scsi_command_t::timeout' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:99]: (style) struct member 'dk_scsi_command_t::response' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:100]: (style) struct member 'dk_scsi_command_t::status' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:101]: (style) struct member 'dk_scsi_command_t::direction' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:102]: (style) struct member 'dk_scsi_command_t::cdbSize' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:103]: (style) struct member 'dk_scsi_command_t::reserved0144' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:104]: (style) struct member 'dk_scsi_command_t::cdb' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:105]: (style) struct member 'dk_scsi_command_t::buffer' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:106]: (style) struct member 'dk_scsi_command_t::bufferSize' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:107]: (style) struct member 'dk_scsi_command_t::sense' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:108]: (style) struct member 'dk_scsi_command_t::senseLen' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:113]: (style) struct member 'dk_scsi_identify_t::bus' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:114]: (style) struct member 'dk_scsi_identify_t::port' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:115]: (style) struct member 'dk_scsi_identify_t::target' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:116]: (style) struct member 'dk_scsi_identify_t::lun' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/actctx.c:1040]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/actctx.c:1424]: (style) The scope of the variable 'start' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/actctx.c:1640]: (style) The scope of the variable 'start' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/actctx.c:2627]: (style) The scope of the variable 'buffer' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/actctx.c:2683]: (style) The scope of the variable 'data_pos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/actctx.c:2683]: (style) The scope of the variable 'data_len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/actctx.c:2702]: (style) The scope of the variable 'tmp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/actctx.c:1045]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/debugtools.c:78]: (style) The scope of the variable 'res' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/debugtools.c:101]: (style) The scope of the variable 'res' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/debugtools.c:85]: (style) Variable 'res' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/debugtools.c:108]: (style) Variable 'res' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/actctx.c:3912]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a+b?c:d'' should be written as either ''(a+b)?c:d'' or ''a+(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/directory.c:605]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/directory.c:607]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/directory.c:1275]: (style) The scope of the variable 'tmp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/directory.c:1491]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/directory.c:2325]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/directory.c:2399]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/directory.c:2549]: (style) The scope of the variable 'dir' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/directory.c:2683]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/directory.c:2799]: (style) The scope of the variable 'old_cwd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/directory.c:1811]: (portability) Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/directory.c:2194]: (portability) Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/directory.c:2572]: (portability) Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:2764]: (style, inconclusive) Consecutive return, break, continue, goto or throw statements are unnecessary. The second statement can never be executed, and so should be removed.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/cdrom.c:1244]: (style) The scope of the variable 'final_frame' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/file.c:2032] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/file.c:2094]: (performance) Variable 'status' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/file.c:704]: (style) Variable 'status' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/file.c:1745]: (style) Condition '!avail' is always true
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/heap.c:332]: (style) The scope of the variable 'ptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/heap.c:871]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/directory.c:964]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/loader.c:1503]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/loader.c:1563]: (style) The scope of the variable 'load_path' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/loader.c:1872]: (style) The scope of the variable 'dllname' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/loader.c:2871]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/loader.c:2942]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/directory.c:822]: (error) Resource handle 'f' freed twice.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/directory.c:887]: (error) Resource handle 'f' freed twice.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/nt.c:2088]: (style) The scope of the variable 'count' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/nt.c:2095]: (warning) scanf without field width limits can crash with huge input data. Add a field width specifier to fix this problem:\012    %s => %20s\012\012Sample program that can crash:\012\012#include <stdio.h>\012int main()\012{\012    char c[5];\012    scanf("%s", c);\012    return 0;\012}\012\012Typing in 5 or more characters may make the program crash. The correct usage here is 'scanf("%4s", c);', as the maximum field width does not include the terminating null byte.\012Source: http://linux.die.net/man/3/scanf\012Source: http://www.opensource.apple.com/source/xnu/xnu-1456.1.26/libkern/stdio/scanf.c
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/printf.c:154]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/nt.c:1139]: (style) The scope of the variable 'line' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/nt.c:1140]: (style) The scope of the variable 's' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/nt.c:2465]: (style) The scope of the variable 'line' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/nt.c:2466]: (style) The scope of the variable 's' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/nt.c:2563]: (style) The scope of the variable 'f' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/nt.c:1579]: (warning) scanf without field width limits can crash with huge input data. Add a field width specifier to fix this problem:\012    %s => %20s\012\012Sample program that can crash:\012\012#include <stdio.h>\012int main()\012{\012    char c[5];\012    scanf("%s", c);\012    return 0;\012}\012\012Typing in 5 or more characters may make the program crash. The correct usage here is 'scanf("%4s", c);', as the maximum field width does not include the terminating null byte.\012Source: http://linux.die.net/man/3/scanf\012Source: http://www.opensource.apple.com/source/xnu/xnu-1456.1.26/libkern/stdio/scanf.c
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/relay.c:921]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/relay.c:979]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/relay.c:979]: (style) The scope of the variable 'nostring' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/relay.c:1023]: (style) The scope of the variable 'max' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/resource.c:108]: (style) The scope of the variable 'pos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/resource.c:144]: (style) The scope of the variable 'str' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/resource.c:145]: (style) The scope of the variable 'res' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/resource.c:145]: (style) The scope of the variable 'pos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/nt.c:1071]: (style) The scope of the variable 'line' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/nt.c:1072]: (style) The scope of the variable 's' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/sec.c:1393]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/sec.c:407]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/sec.c:1406]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/serial.c:212]: (style) Variable 'stat' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/serial.c:312]: (style) Unused variable: mstat
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/serial.c:886]: (style) Unused variable: out
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/server.c:208]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/server.c:246]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/server.c:752]: (style) The scope of the variable 'ret' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/server.c:1093]: (style) The scope of the variable 'argv' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/server.c:1095]: (style) The scope of the variable 'debug' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/server.c:1126]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/server.c:1237]: (style) The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() function obsolescent and POSIX.1-2008 removes it. It is recommended that new applications use the 'nanosleep' or 'setitimer' function.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/server.c:976]: (error) Dereferencing 'fd' after it is deallocated / released
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1106] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1105]: (style, inconclusive) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1174] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1173]: (style, inconclusive) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:511]: (style) The scope of the variable 'digit' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:555]: (style) The scope of the variable 'digit' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:632]: (style) The scope of the variable 'digit' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:685]: (style) The scope of the variable 'digit' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:798]: (style) Condition 'nch==0' is always true
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:797]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:807]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:894]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:899]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:905]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:914]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:927]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:934]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:942]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:974]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:982]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:990]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:996]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1009]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1019]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1025]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1035]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1045]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1051]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1060]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1118]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1133]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1147]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1162]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1199]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1223]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1310]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1332]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1337]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/string.c:1349]: (warning) A statement like '*A++;' might not do what you intended. Postfix 'operator++' is executed before 'operator*'. Thus, the dereference is meaningless. Did you intend to write '(*A)++;'?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/sync.c:138] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/sync.c:131]: (warning) Either the condition 'sacl' is redundant or there is possible null pointer dereference: sacl.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/sync.c:140] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/sync.c:132]: (warning) Either the condition 'dacl' is redundant or there is possible null pointer dereference: dacl.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/directory.c:185]: (style) The scope of the variable 'dir_info' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/directory.c:263]: (style) The scope of the variable 'info' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/exception.c:1352]: (error) Uninitialized struct member: info.exception_info
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/exception.c:1353]: (error) Uninitialized struct member: info.exception_info
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/file.c:1442]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/file.c:1512]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/file.c:1780]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/file.c:1781]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/file.c:1783]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/file.c:2150]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/file.c:2881]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/file.c:2972]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/file.c:2978]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/file.c:3429]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/exception.c:1475]: (style) The scope of the variable 'handler' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/exception.c:76]: (style) struct member 'DISPATCHER_CONTEXT::LanguageHandler' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/info.c:729]: (style) The scope of the variable 'infoex' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/info.c:729]: (style) The scope of the variable 'infoex2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/info.c:835]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/info.c:697]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/info.c:977]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/info.c:1335]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/info.c:1409]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/info.c:1766]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/om.c:1472] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/om.c:1474]: (performance) Variable 'str' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/om.c:1489] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/om.c:1492]: (performance) Variable 'str' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/om.c:1513] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/om.c:1516]: (performance) Variable 'str' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/om.c:1324]: (warning, inconclusive) Multiplying sizeof() with sizeof() indicates a logic error.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/om.c:1478]: (warning, inconclusive) Multiplying sizeof() with sizeof() indicates a logic error.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/om.c:1498]: (warning, inconclusive) Multiplying sizeof() with sizeof() indicates a logic error.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/om.c:1522]: (warning, inconclusive) Multiplying sizeof() with sizeof() indicates a logic error.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/om.c:856]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/om.c:864]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/om.c:1491]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/om.c:1495]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/om.c:1515]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/om.c:1519]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/om.c:1522]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/pipe.c:177]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/pipe.c:206]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/pipe.c:385]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/pipe.c:424]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/pipe.c:460]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/port.c:387]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:122] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:73]: (style, inconclusive) The variable 'PRTL_QUERY_REGISTRY_TABLE' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/rtl.c:1235] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/rtl.c:1236]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/rtl.c:1236] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/rtl.c:1237]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:1937]: (warning, inconclusive) Multiplying sizeof() with sizeof() indicates a logic error.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:1938]: (warning, inconclusive) Multiplying sizeof() with sizeof() indicates a logic error.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/rtl.c:1138]: (style) Variable 'dummy' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/rtl.c:1851]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/rtl.c:1886]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/rtl.c:1906]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/rtl.c:1936]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/rtl.c:1942]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:370]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:372]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:380]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:382]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:399]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:405]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:424]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:430]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:436]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:442]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:551]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:557]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:578]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:584]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:590]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/reg.c:596]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/rtlstr.c:521]: (style) The scope of the variable 'upper_ch' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/rtlstr.c:523]: (style) The scope of the variable 'byte_ch' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/rtlstr.c:2058]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/rtlstr.c:2359]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/string.c:898]: (style) The scope of the variable 'result' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/string.c:913]: (style) The scope of the variable 'result' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/string.c:926]: (style) The scope of the variable 'result' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/threadpool.c:757]: (error) syntax error
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/threadpool.c:1764] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/threadpool.c:1765]: (performance) Variable 'result' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/time.c:525]: (portability) Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/tests/threadpool.c:1515]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/time.c:736]: (portability) Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/time.c:743]: (portability) Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/time.c:764]: (portability) Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/time.c:767]: (portability) Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/time.c:817]: (portability) Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/time.c:818]: (style) Obsolete function 'asctime' called. It is recommended to use 'strftime' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/time.c:838]: (portability) Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/time.c:839]: (style) Obsolete function 'asctime' called. It is recommended to use 'strftime' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/time.c:118]: (style, inconclusive) Statements following return, break, continue, goto or throw will never be executed.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/virtual.c:400]: (style) Assignment of function parameter has no effect outside the function.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/virtual.c:401]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/virtual.c:268]: (warning) Invalid test for overflow '(const char*)addr+size<(const char*)addr'. Condition is always false unless there is overflow, and overflow is UB.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/virtual.c:1599] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/virtual.c:1600]: (performance) Variable 'dummy' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/virtual.c:639]: (style) The scope of the variable 'prot' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/virtual.c:687]: (style) The scope of the variable 'prot' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/virtual.c:367]: (error) Dereferencing 'user_space_limit' after it is deallocated / released
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/virtual.c:367]: (error) Dereferencing 'addr' after it is deallocated / released
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/virtual.c:718]: (error) Dereferencing 'ptr' after it is deallocated / released
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/virtual.c:718]: (error) Dereferencing 'extra' after it is deallocated / released
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/virtual.c:719]: (error) Dereferencing 'extra' after it is deallocated / released
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/virtual.c:723]: (error) Returning/dereferencing 'ptr' after it is deallocated / released
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntdll/virtual.c:888]: (error) Return value of allocation function 'mmap' is not stored.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ntoskrnl.exe/ntoskrnl.c:1467]: (style) The scope of the variable 'call_flag' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/odbccp32/odbccp32.c:761]: (style) Variable 'len' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:44]: (style) Variable 'QueryInterface' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:45]: (style) Variable 'AddRef' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:46]: (style) Variable 'Release' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:48]: (style) Variable 'ReadAt' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:49]: (style) Variable 'WriteAt' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:50]: (style) Variable 'Flush' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:51]: (style) Variable 'SetSize' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:52]: (style) Variable 'LockRegion' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:53]: (style) Variable 'UnlockRegion' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:54]: (style) Variable 'Stat' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:81]: (style) Variable 'QueryInterface' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:82]: (style) Variable 'AddRef' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:83]: (style) Variable 'Release' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:85]: (style) Variable 'Read' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:86]: (style) Variable 'Write' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:88]: (style) Variable 'Seek' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:89]: (style) Variable 'SetSize' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:90]: (style) Variable 'CopyTo' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:91]: (style) Variable 'Commit' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:92]: (style) Variable 'Revert' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:93]: (style) Variable 'LockRegion' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:94]: (style) Variable 'UnlockRegion' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:95]: (style) Variable 'Stat' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:96]: (style) Variable 'Clone' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:110]: (style) Variable 'QueryInterface' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:111]: (style) Variable 'AddRef' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:112]: (style) Variable 'Release' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:114]: (style) Variable 'CreateStream' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:115]: (style) Variable 'OpenStream' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:116]: (style) Variable 'CreateStorage' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:117]: (style) Variable 'OpenStorage' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:118]: (style) Variable 'CopyTo' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:119]: (style) Variable 'MoveElementTo' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:120]: (style) Variable 'Commit' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:121]: (style) Variable 'Revert' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:122]: (style) Variable 'EnumElements' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:123]: (style) Variable 'DestroyElement' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:124]: (style) Variable 'RenameElement' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:125]: (style) Variable 'SetElementTimes' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:126]: (style) Variable 'SetClass' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:127]: (style) Variable 'SetStateBits' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole2.dll16/ifs.h:128]: (style) Variable 'Stat' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/bindctx.c:180]: (style) Variable 'lastIndex' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/clipboard.c:653] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/clipboard.c:655]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/clipboard.c:655] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/clipboard.c:660]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compositemoniker.c:368] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compositemoniker.c:369]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compositemoniker.c:369] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compositemoniker.c:372]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compositemoniker.c:684] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compositemoniker.c:685]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compositemoniker.c:685] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compositemoniker.c:688]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compositemoniker.c:746] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compositemoniker.c:747]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compositemoniker.c:747] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compositemoniker.c:750]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compobj.c:3750] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compobj.c:3755]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compobj.c:3822] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compobj.c:3828]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/datacache.c:680] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/datacache.c:94]: (style) Variable 'pres_stream' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compobj.c:497]: (style) The scope of the variable 'len' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/datacache.c:1400] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/datacache.c:1406]: (performance) Variable 'dirty' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compobj.c:1423]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compobj.c:2845]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/compobj.c:310]: (error, inconclusive) Function parameter is assigned the address of a local auto-variable. Local auto-variables are reserved from the stack which is freed when the function ends. The address is invalid after the function ends and it might 'leak' from the function through the parameter.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/dictionary.c:163]: (style) The scope of the variable 'temp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/defaulthandler.c:495]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/filemoniker.c:669]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/filemoniker.c:669]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/filemoniker.c:669]: (style) The scope of the variable 'lastIdx1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/filemoniker.c:669]: (style) The scope of the variable 'lastIdx2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/filemoniker.c:813]: (style) The scope of the variable 'skip' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/filemoniker.c:1347]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/filemoniker.c:1297]: (style) Variable 'pszFileName' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/itemmoniker.c:251] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/itemmoniker.c:252]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/itemmoniker.c:252] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/itemmoniker.c:253]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/itemmoniker.c:253] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/itemmoniker.c:254]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/itemmoniker.c:741] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/itemmoniker.c:743]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/itemmoniker.c:743] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/itemmoniker.c:745]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/itemmoniker.c:835]: (style) Variable 'pszItemName' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/marshal.c:976]: (style) The scope of the variable 'cursor' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/ole2.c:2570] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/ole2.c:2572]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/ole2.c:2596] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/ole2.c:2600]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/ole2.c:1873]: (style) The scope of the variable 'pOleMenuDescriptor' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/ole2.c:2249]: (style) The scope of the variable 'res' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/ole2.c:3067]: (style) The scope of the variable 'strLen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/ole2.c:3078]: (style) The scope of the variable 'strLen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/oleobj.c:770]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/rpc.c:1871] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/rpc.c:1874]: (performance) Variable 'hres' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/rpc.c:628]: (style) The scope of the variable 'orpcthis' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/rpc.c:1902]: (style) The scope of the variable 'buffer' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/rpc.c:1903]: (style) The scope of the variable 'buflen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/rpc.c:193]: (style) Unused variable: entry
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/rpc.c:311]: (style) Unused variable: entry
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:3946] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:3951]: (performance) Variable 'index' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:9312] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:9327]: (performance) Variable 'r' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:10084] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:10088]: (performance) Variable 'hRes' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:10183] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:10184]: (performance) Variable 'hRes' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:10184] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:10185]: (performance) Variable 'hRes' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:10185] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:10186]: (performance) Variable 'hRes' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:10227] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:10228]: (performance) Variable 'hRes' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:1333]: (style) The scope of the variable 'pstrChild' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:2657]: (style) The scope of the variable 'strm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:2899]: (style) The scope of the variable 'index' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:3873]: (style) The scope of the variable 'index' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:3873]: (style) The scope of the variable 'num_blocks' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:4033]: (style) The scope of the variable 'index' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:4033]: (style) The scope of the variable 'num_blocks' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:5045]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:2261]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:9943]: (style) Variable 'hRes' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:10189]: (style) Variable 'hRes' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:10228]: (style) Variable 'hRes' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/compobj.c:1865] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/compobj.c:1874]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/compobj.c:3523] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/compobj.c:3531]: (performance, inconclusive) Variable 'g_persistfile_qi_ret' is reassigned a value before the old one has been used. Make sure that this variable is not used like a semaphore in a threading environment before simplifying this code.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/compobj.c:878]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/clipboard.c:465]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/compobj.c:1566]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/clipboard.c:776]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/clipboard.c:1683]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/compobj.c:2881]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/compobj.c:3305]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/compobj.c:3309]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/clipboard.c:1684]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/defaulthandler.c:206]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/marshal.c:2876]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/marshal.c:2879]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/marshal.c:2882]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/marshal.c:2891]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/marshal.c:2894]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/marshal.c:2899]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:10642]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a&b?c:d'' should be written as either ''(a&b)?c:d'' or ''a&(b?c:d)''.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:4615]: (error) Uninitialized struct member: src_data.startingBlock
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:4616]: (error) Uninitialized struct member: src_data.size
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:6713]: (error) Uninitialized struct member: src_data.dirRootEntry
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:6725]: (error) Uninitialized struct member: src_data.clsid
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:6726]: (error) Uninitialized struct member: src_data.ctime
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:6727]: (error) Uninitialized struct member: src_data.mtime
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/storage32.c:6723]: (error) Uninitialized struct member: dst_data.dirRootEntry
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:176]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:202]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:208]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:218]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:228]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:239]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:249]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:260]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:272]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:284]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:295]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:310]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:320]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:329]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:338]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:348]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:359]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:370]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:381]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:392]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:402]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:412]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:423]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:445]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:487]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:493]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:499]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:508]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:518]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:528]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:539]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:549]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:558]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:585]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:591]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:603]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:629]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:639]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:650]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:663]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:732]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:738]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:746]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:754]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:760]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:769]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:777]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:1260]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:1310]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:1318]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:1325]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:1330]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:1335]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:1357]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:1371]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:1378]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:1387]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:1396]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:1404]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:1413]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:1423]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:1432]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:1445]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:1464]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/ole2.c:1472]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/storage32.c:3892] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/storage32.c:3900]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/storage32.c:3908] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/storage32.c:3916]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/storage32.c:2504]: (style) The scope of the variable 'c1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/storage32.c:2504]: (style) The scope of the variable 'c2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/storage32.c:280]: (style) Variable 'r' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/storage32.c:3443]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/storage32.c:3455]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/storage32.c:3470]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/storage32.c:3480]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/storage32.c:3568]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/storage32.c:3627]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/storage32.c:3638]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ole32/tests/storage32.c:3863]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/olefont.c:1691]: (style) The scope of the variable 'writeBuffer' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/olepicture.c:1624]: (style) The scope of the variable 'iDataSize' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/safearray.c:223]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/safearray.c:153]: (style) Variable 'lpDw' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/olepicture.c:285]: (style) The scope of the variable 'header' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/olepicture.c:243]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/olepicture.c:1097]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/olepicture.c:1100]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/olepicture.c:1106]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/olepicture.c:1172]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/olepicture.c:1175]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/olepicture.c:1181]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/tmarshal.c:1592]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/tmarshal.c:2011]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/usrmarshal.c:1476] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/usrmarshal.c:1494]: (performance) Variable 'next' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/usrmarshal.c:1501] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/usrmarshal.c:1522]: (performance) Variable 'next' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/usrmarshal.c:443]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/usrmarshal.c:448]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/usrmarshal.c:455]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/usrmarshal.c:513]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/usrmarshal.c:1544]: (style) Variable 'next' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/typelib.c:5812] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/typelib.c:5806]: (style, inconclusive) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:478]: (style) The scope of the variable 'iWeekday' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:478]: (style) The scope of the variable 'iFirstDay' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:481]: (style) The scope of the variable 'firstDay' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/typelib.c:4635]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/typelib.c:4638]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:272]: (warning) Conversion of string literal "True/False" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:273]: (warning) Conversion of string literal "True/False" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:275]: (warning) Conversion of string literal "\"pos\";\"neg\"" to bool always evaluates to true.