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.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:275]: (warning) Conversion of string literal "\"pos\";\"neg\";\"zero\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:276]: (warning) Conversion of string literal "\"pos\";\"neg\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:276]: (warning) Conversion of string literal "\"pos\";\"neg\";\"zero\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:277]: (warning) Conversion of string literal "\"pos\";\"neg\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:277]: (warning) Conversion of string literal "\"pos\";\"neg\";\"zero\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:280]: (warning) Conversion of string literal "\"pos\";\"neg\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:280]: (warning) Conversion of string literal "\"pos\";\"neg\";\"zero\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:282]: (warning) Conversion of string literal "\"pos\";\"neg\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:282]: (warning) Conversion of string literal "\"pos\";\"neg\";\"zero\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:283]: (warning) Conversion of string literal "\"pos\";\"neg\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:283]: (warning) Conversion of string literal "\"pos\";\"neg\";\"zero\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:284]: (warning) Conversion of string literal "\"pos\";\"neg\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:284]: (warning) Conversion of string literal "\"pos\";\"neg\";\"zero\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:285]: (warning) Conversion of string literal "\"pos\";\"neg\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:285]: (warning) Conversion of string literal "\"pos\";\"neg\";\"zero\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:288]: (warning) Conversion of string literal "\"pos\";\"neg\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:288]: (warning) Conversion of string literal "\"pos\";\"neg\";\"zero\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:290]: (warning) Conversion of string literal "\"pos\";\"neg\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:290]: (warning) Conversion of string literal "\"pos\";\"neg\";\"zero\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:291]: (warning) Conversion of string literal "\"pos\";\"neg\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:291]: (warning) Conversion of string literal "\"pos\";\"neg\";\"zero\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:292]: (warning) Conversion of string literal "\"pos\";\"neg\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:292]: (warning) Conversion of string literal "\"pos\";\"neg\";\"zero\"" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:295]: (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:296]: (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:329]: (warning) Conversion of string literal "" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:330]: (warning) Conversion of string literal "@" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:331]: (warning) Conversion of string literal "&" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:332]: (warning) Conversion of string literal "\\x@\\x@" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:333]: (warning) Conversion of string literal "\\x&\\x&" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:334]: (warning) Conversion of string literal "@\\x" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:335]: (warning) Conversion of string literal "@@@@@@@@" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:336]: (warning) Conversion of string literal "@\\x@@@@@@@" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:337]: (warning) Conversion of string literal "&&&&&&&&" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:338]: (warning) Conversion of string literal "!&&&&&&&" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:339]: (warning) Conversion of string literal "&&&&&&&!" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:340]: (warning) Conversion of string literal ">&&" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:341]: (warning) Conversion of string literal "<&&" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:342]: (warning) Conversion of string literal "<&>&" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:345]: (warning) Conversion of string literal "hh:mm" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:346]: (warning) Conversion of string literal "mm-dd-yy" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:349]: (warning) Conversion of string literal "<&>&" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:352]: (warning) Conversion of string literal "#00000000" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:353]: (warning) Conversion of string literal "000###" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:354]: (warning) Conversion of string literal "#00##00#0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:355]: (warning) Conversion of string literal "1#####0000" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:356]: (warning) Conversion of string literal "##abcdefghijklmnopqrstuvwxyz" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:357]: (warning) Conversion of string literal "#,###,###,###" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:358]: (warning) Conversion of string literal "0,000,000,000" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:359]: (warning) Conversion of string literal "#,#.#" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:360]: (warning) Conversion of string literal "###, ###, ###" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:361]: (warning) Conversion of string literal "#;-#" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:362]: (warning) Conversion of string literal "#;-#" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:363]: (warning) Conversion of string literal "0#.0#0#0#0#0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:364]: (warning) Conversion of string literal "0#.0#0#0#0#0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:365]: (warning) Conversion of string literal "#0.#0#0#0#0#" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:366]: (warning) Conversion of string literal "#0.#0#0#0#0#" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:367]: (warning) Conversion of string literal "#0.#0#0#0#0#0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:368]: (warning) Conversion of string literal "#0.##########" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:369]: (warning) Conversion of string literal "#0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:370]: (warning) Conversion of string literal "#0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:371]: (warning) Conversion of string literal "#00" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:372]: (warning) Conversion of string literal "0##" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:373]: (warning) Conversion of string literal "#000" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:374]: (warning) Conversion of string literal "#0.00" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:375]: (warning) Conversion of string literal "#0000.00" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:376]: (warning) Conversion of string literal "#.00" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:377]: (warning) Conversion of string literal "#.00" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:378]: (warning) Conversion of string literal "#.00" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:379]: (warning) Conversion of string literal "#3" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:380]: (warning) Conversion of string literal "#33" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:381]: (warning) Conversion of string literal "#3.33" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:382]: (warning) Conversion of string literal "#3333.33" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:383]: (warning) Conversion of string literal "#.33" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:384]: (warning) Conversion of string literal "#.33" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:385]: (warning) Conversion of string literal "0.0000E-000" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:386]: (warning) Conversion of string literal "0.0000e-1" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:387]: (warning) Conversion of string literal "#0.000000000000e-000" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:388]: (warning) Conversion of string literal "#0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:389]: (warning) Conversion of string literal "#.33" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:390]: (warning) Conversion of string literal "#3" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:391]: (warning) Conversion of string literal "0.0000E+000" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:392]: (warning) Conversion of string literal "#0.000000" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:393]: (warning) Conversion of string literal "0.0000e+0#" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:394]: (warning) Conversion of string literal "0.0000E+0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:395]: (warning) Conversion of string literal "0.0000e+1" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:396]: (warning) Conversion of string literal "0.0000e+0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:397]: (warning) Conversion of string literal "#000.0000e+0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:398]: (warning) Conversion of string literal "##00.0000e-0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:399]: (warning) Conversion of string literal "0000.0000e-0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:400]: (warning) Conversion of string literal "00##.0000e-0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:401]: (warning) Conversion of string literal "##00.0000e-0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:402]: (warning) Conversion of string literal ".0000E+0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:403]: (warning) Conversion of string literal "#####.####e-0%" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:404]: (warning) Conversion of string literal "0.00" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:405]: (warning) Conversion of string literal "0.00" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:406]: (warning) Conversion of string literal "#.##" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:407]: (warning) Conversion of string literal ".#" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:408]: (warning) Conversion of string literal "#.#" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:409]: (warning) Conversion of string literal "#.##" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:410]: (warning) Conversion of string literal "#.##" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:411]: (warning) Conversion of string literal "#.##" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:412]: (warning) Conversion of string literal "#.##" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:413]: (warning) Conversion of string literal "#.##" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:414]: (warning) Conversion of string literal "#.##" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:415]: (warning) Conversion of string literal "#.##" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:416]: (warning) Conversion of string literal "#.##" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:417]: (warning) Conversion of string literal "#.##" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:418]: (warning) Conversion of string literal "#,##0.00" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:419]: (warning) Conversion of string literal "#.###" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:441]: (warning) Conversion of string literal "" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:443]: (warning) Conversion of string literal "" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:445]: (warning) Conversion of string literal "" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/varformat.c:447]: (warning) Conversion of string literal "" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1217]: (style) The scope of the variable 'in' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/vartype.c:1718]: (style) The scope of the variable 'in' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/vartype.c:2222]: (style) The scope of the variable 'in' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/vartype.c:2483]: (style) The scope of the variable 'in' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/vartype.c:2757]: (style) The scope of the variable 'in' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/vartype.c:2960]: (style) The scope of the variable 'in' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/vartype.c:3203]: (style) The scope of the variable 'in' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/vartype.c:3626]: (style) The scope of the variable 'in' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/vartype.c:3662]: (style) The scope of the variable 'in' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/vartype.c:4143]: (style) The scope of the variable 'in' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/vartype.c:4750]: (style) The scope of the variable 'in' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/vartype.c:5666]: (style) The scope of the variable 'bstr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/vartest.c:2450] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartest.c:2448]: (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/vartype.c:5173]: (error) Signed integer overflow for expression '(4294952295)+1'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartest.c:1101]: (style) Variable 'buffer' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:866]: (warning) Conversion of string literal "0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:867]: (warning) Conversion of string literal "-129" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:868]: (warning) Conversion of string literal "-128" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:869]: (warning) Conversion of string literal "127" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:870]: (warning) Conversion of string literal "128" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:872]: (warning) Conversion of string literal "-1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:873]: (warning) Conversion of string literal "-0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:874]: (warning) Conversion of string literal "-0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:875]: (warning) Conversion of string literal "-0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:876]: (warning) Conversion of string literal "0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:877]: (warning) Conversion of string literal "0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:878]: (warning) Conversion of string literal "0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:879]: (warning) Conversion of string literal "1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1112]: (warning) Conversion of string literal "0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1113]: (warning) Conversion of string literal "-1" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1114]: (warning) Conversion of string literal "255" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1115]: (warning) Conversion of string literal "256" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1118]: (warning) Conversion of string literal "-1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1119]: (warning) Conversion of string literal "-0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1120]: (warning) Conversion of string literal "-0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1121]: (warning) Conversion of string literal "-0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1122]: (warning) Conversion of string literal "0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1123]: (warning) Conversion of string literal "0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1124]: (warning) Conversion of string literal "0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1125]: (warning) Conversion of string literal "1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1429]: (warning) Conversion of string literal "0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1430]: (warning) Conversion of string literal "-32769" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1431]: (warning) Conversion of string literal "-32768" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1432]: (warning) Conversion of string literal "32767" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1433]: (warning) Conversion of string literal "32768" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1436]: (warning) Conversion of string literal "-1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1437]: (warning) Conversion of string literal "-0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1438]: (warning) Conversion of string literal "-0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1439]: (warning) Conversion of string literal "-0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1440]: (warning) Conversion of string literal "0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1441]: (warning) Conversion of string literal "0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1442]: (warning) Conversion of string literal "0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1443]: (warning) Conversion of string literal "1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1675]: (warning) Conversion of string literal "0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1676]: (warning) Conversion of string literal "-1" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1677]: (warning) Conversion of string literal "65535" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1678]: (warning) Conversion of string literal "65536" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1681]: (warning) Conversion of string literal "-1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1682]: (warning) Conversion of string literal "-0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1683]: (warning) Conversion of string literal "-0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1684]: (warning) Conversion of string literal "-0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1685]: (warning) Conversion of string literal "0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1686]: (warning) Conversion of string literal "0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1687]: (warning) Conversion of string literal "0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1688]: (warning) Conversion of string literal "1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1928]: (warning) Conversion of string literal "0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1929]: (warning) Conversion of string literal "-2147483649" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1930]: (warning) Conversion of string literal "-2147483648" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1931]: (warning) Conversion of string literal "2147483647" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1932]: (warning) Conversion of string literal "2147483648" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1935]: (warning) Conversion of string literal "-1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1936]: (warning) Conversion of string literal "-0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1937]: (warning) Conversion of string literal "-0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1938]: (warning) Conversion of string literal "-0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1939]: (warning) Conversion of string literal "0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1940]: (warning) Conversion of string literal "0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1941]: (warning) Conversion of string literal "0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:1942]: (warning) Conversion of string literal "1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2167]: (warning) Conversion of string literal "-1" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2168]: (warning) Conversion of string literal "0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2169]: (warning) Conversion of string literal "4294967295" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2170]: (warning) Conversion of string literal "4294967296" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2173]: (warning) Conversion of string literal "-1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2174]: (warning) Conversion of string literal "-0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2175]: (warning) Conversion of string literal "-0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2176]: (warning) Conversion of string literal "-0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2177]: (warning) Conversion of string literal "0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2178]: (warning) Conversion of string literal "0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2179]: (warning) Conversion of string literal "0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2180]: (warning) Conversion of string literal "1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2414]: (warning) Conversion of string literal "0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2415]: (warning) Conversion of string literal "-1" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2416]: (warning) Conversion of string literal "2147483647" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2418]: (warning) Conversion of string literal "-1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2419]: (warning) Conversion of string literal "-0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2420]: (warning) Conversion of string literal "-0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2421]: (warning) Conversion of string literal "-0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2422]: (warning) Conversion of string literal "0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2423]: (warning) Conversion of string literal "0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2424]: (warning) Conversion of string literal "0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2425]: (warning) Conversion of string literal "1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2680]: (warning) Conversion of string literal "0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2681]: (warning) Conversion of string literal "-1" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2682]: (warning) Conversion of string literal "2147483647" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2683]: (warning) Conversion of string literal "18446744073709551614" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2684]: (warning) Conversion of string literal "18446744073709551615" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2685]: (warning) Conversion of string literal "18446744073709551616" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2687]: (warning) Conversion of string literal "-1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2688]: (warning) Conversion of string literal "-0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2689]: (warning) Conversion of string literal "-0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2690]: (warning) Conversion of string literal "-0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2691]: (warning) Conversion of string literal "0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2692]: (warning) Conversion of string literal "0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2693]: (warning) Conversion of string literal "0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2694]: (warning) Conversion of string literal "1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2918]: (warning) Conversion of string literal "-1" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2919]: (warning) Conversion of string literal "0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2920]: (warning) Conversion of string literal "1" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2922]: (warning) Conversion of string literal "-1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2923]: (warning) Conversion of string literal "-0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2924]: (warning) Conversion of string literal "-0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2925]: (warning) Conversion of string literal "-0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2926]: (warning) Conversion of string literal "0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2927]: (warning) Conversion of string literal "0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2928]: (warning) Conversion of string literal "0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:2929]: (warning) Conversion of string literal "1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3126]: (warning) Conversion of string literal "" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3127]: (warning) Conversion of string literal " " to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3129]: (warning) Conversion of string literal "0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3130]: (warning) Conversion of string literal "-1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3131]: (warning) Conversion of string literal "-0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3132]: (warning) Conversion of string literal "-0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3133]: (warning) Conversion of string literal "-0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3134]: (warning) Conversion of string literal "0.4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3135]: (warning) Conversion of string literal "0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3136]: (warning) Conversion of string literal "0.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3137]: (warning) Conversion of string literal "1.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3425]: (warning) Conversion of string literal "0.0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3432]: (warning) Conversion of string literal "1 am" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3437]: (warning) Conversion of string literal "0.1" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3438]: (warning) Conversion of string literal "0.40" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3439]: (warning) Conversion of string literal "2.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3441]: (warning) Conversion of string literal "0:1" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3442]: (warning) Conversion of string literal "0:20" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3443]: (warning) Conversion of string literal "0:40" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3444]: (warning) Conversion of string literal "3:5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3446]: (warning) Conversion of string literal "00:00 AM" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3447]: (warning) Conversion of string literal "00:00 a" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3448]: (warning) Conversion of string literal "12:59 AM" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3449]: (warning) Conversion of string literal "12:59 A" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3450]: (warning) Conversion of string literal "00:00 pm" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3451]: (warning) Conversion of string literal "00:00 p" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3452]: (warning) Conversion of string literal "12:59 pm" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3453]: (warning) Conversion of string literal "12:59 p" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3455]: (warning) Conversion of string literal "13:00 AM" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3456]: (warning) Conversion of string literal "13:00 PM" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3460]: (warning) Conversion of string literal "1 2" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3461]: (warning) Conversion of string literal "2 1" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3465]: (warning) Conversion of string literal "14 1" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3466]: (warning) Conversion of string literal "1 14" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3468]: (warning) Conversion of string literal "30 2" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3469]: (warning) Conversion of string literal "2 30" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3470]: (warning) Conversion of string literal "32 49" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3471]: (warning) Conversion of string literal "0 49" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3473]: (warning) Conversion of string literal "Jan 2" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3474]: (warning) Conversion of string literal "2 Jan" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3476]: (warning) Conversion of string literal "Jan 35" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3477]: (warning) Conversion of string literal "35 Jan" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3478]: (warning) Conversion of string literal "Jan-35" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3479]: (warning) Conversion of string literal "35-Jan" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3480]: (warning) Conversion of string literal "Jan/35" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3481]: (warning) Conversion of string literal "35/Jan" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3484]: (warning) Conversion of string literal "0.1.0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3485]: (warning) Conversion of string literal "1.5.2" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3487]: (warning) Conversion of string literal "1 2 3" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3488]: (warning) Conversion of string literal "14 2 3" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3489]: (warning) Conversion of string literal "2 14 3" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3490]: (warning) Conversion of string literal "2 3 14" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3491]: (warning) Conversion of string literal "32 2 3" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3492]: (warning) Conversion of string literal "2 3 32" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3493]: (warning) Conversion of string literal "1 2 29" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3495]: (warning) Conversion of string literal "1 2 30" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3496]: (warning) Conversion of string literal "1 2 31" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3497]: (warning) Conversion of string literal "3 am 1 2" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3498]: (warning) Conversion of string literal "1 2 3 am" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3501]: (warning) Conversion of string literal "1.2 3 4" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3502]: (warning) Conversion of string literal "3 4 1.2" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3504]: (warning) Conversion of string literal "1.2.3 4 5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3505]: (warning) Conversion of string literal "1.2 3 4 5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3510]: (warning) Conversion of string literal "1 2 3 4.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3512]: (warning) Conversion of string literal "1.2.3 4 5 6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3513]: (warning) Conversion of string literal "1 2 3 4.5.6" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3521]: (warning) Conversion of string literal "2 January, 1970" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3522]: (warning) Conversion of string literal "2 January 1970" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3523]: (warning) Conversion of string literal "2 Jan 1970" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3524]: (warning) Conversion of string literal "2/Jan/1970" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3525]: (warning) Conversion of string literal "2-Jan-1970" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3526]: (warning) Conversion of string literal "1 2 1970" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3527]: (warning) Conversion of string literal "1/2/1970" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3528]: (warning) Conversion of string literal "1-2-1970" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3529]: (warning) Conversion of string literal "13-1-1970" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3530]: (warning) Conversion of string literal "1970-1-13" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3531]: (warning) Conversion of string literal "6/30/2011 01:20:34" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3532]: (warning) Conversion of string literal "6/30/2011 01:20:34 AM" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3533]: (warning) Conversion of string literal "6/30/2011 01:20:34 PM" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3537]: (warning) Conversion of string literal "02.01.1970" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3538]: (warning) Conversion of string literal "02.01.1970 00:00:00" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3540]: (warning) Conversion of string literal "02.01.1970" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3541]: (warning) Conversion of string literal "02.13.1970" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3542]: (warning) Conversion of string literal "02-13-1970" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3543]: (warning) Conversion of string literal "2020-01-11" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3544]: (warning) Conversion of string literal "2173-10-14" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3546]: (warning) Conversion of string literal "02.01.1970 00:00:00" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3548]: (warning) Conversion of string literal "02.01.1970" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3549]: (warning) Conversion of string literal "02.01.1970 00:00:00" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4309]: (warning) Conversion of string literal "-1" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4310]: (warning) Conversion of string literal "0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4311]: (warning) Conversion of string literal "1" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4312]: (warning) Conversion of string literal "0.5" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4313]: (warning) Conversion of string literal "4294967296" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4314]: (warning) Conversion of string literal "18446744073709551616" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4315]: (warning) Conversion of string literal "4294967296.0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4316]: (warning) Conversion of string literal "18446744073709551616.0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4918]: (warning) Conversion of string literal "#FALSE#" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4919]: (warning) Conversion of string literal "#TRUE#" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4922]: (warning) Conversion of string literal "#False#" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4924]: (warning) Conversion of string literal "false" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4925]: (warning) Conversion of string literal "False" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4927]: (warning) Conversion of string literal "On" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4928]: (warning) Conversion of string literal "Yes" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4935]: (warning) Conversion of string literal "#FALSE#" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4936]: (warning) Conversion of string literal "#TRUE#" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4937]: (warning) Conversion of string literal "#FALSE#" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4938]: (warning) Conversion of string literal "#TRUE#" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4941]: (warning) Conversion of string literal "false" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4943]: (warning) Conversion of string literal "False" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4948]: (warning) Conversion of string literal "faux" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4950]: (warning) Conversion of string literal "faux" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4952]: (warning) Conversion of string literal "Faux" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4957]: (warning) Conversion of string literal "faux" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4961]: (warning) Conversion of string literal "0" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4962]: (warning) Conversion of string literal "-1" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4963]: (warning) Conversion of string literal "+1" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4969]: (warning) Conversion of string literal "0.1" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:4974]: (warning) Conversion of string literal "0.1" to bool always evaluates to true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:5372]: (error) Uninitialized variable: bstr
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:5383]: (error) Uninitialized variable: bstr
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tests/vartype.c:3578]: (style) Variable 'in' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/tmarshal.c:1845]: (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/oleaut32/tmarshal.c:1806]: (style) Variable 'xasm' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/typelib.c:6478]: (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/oleaut32/typelib.c:6451] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/typelib.c:6455]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/typelib.c:10878] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/typelib.c:10884]: (performance) Variable 'hres' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/typelib.c:718]: (style) The scope of the variable 'pIndexStr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/typelib.c:2147]: (style) The scope of the variable 'string' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/typelib.c:2150]: (style) The scope of the variable 'lengthInChars' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/typelib.c:2774]: (style) The scope of the variable 'string' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/typelib.c:2776]: (style) The scope of the variable 'lengthInChars' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/typelib.c:3474]: (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/typelib.c:6120]: (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/typelib.c:6288]: (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/oleaut32/typelib.c:9015]: (style) The scope of the variable 'hash_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/oleaut32/typelib.c:9720]: (style) The scope of the variable 'impfile' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/typelib.c:3960]: (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/oleaut32/varformat.c:1449]: (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/varformat.c:1444]: (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/oleaut32/varformat.c:1613]: (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/oleaut32/variant.c:3858] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/variant.c:3856]: (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/variant.c:2404]: (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/oleaut32/variant.c:2412]: (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/oleaut32/vartype.c:2152]: (style) Redundant condition: If 'dblIn < -4611686018427387904.0', the comparison 'dblIn >= 4611686018427387904.0' is always true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/vartype.c:2477]: (style) Redundant condition: If 'dblIn > 1.844674407370955e19', the comparison 'dblIn < -0.5' is always true.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/vartype.c:5378]: (style) Redundant condition: val.bitsnum[2]==0. 'A || (!A && B)' is equivalent to 'A || B'
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/vartype.c:4833]: (style) The scope of the variable 'remainder' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/vartype.c:4912]: (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/vartype.c:6790]: (style) The scope of the variable 'time' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When 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/vartype.c:7170]: (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/oleaut32/vartype.c:4808]: (error) Array 'running[6]' accessed at index 9998, which is out of bounds.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/vartype.c:4810]: (error) Array 'running[6]' accessed at index 9998, which is out of bounds.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/vartype.c:4511]: (error) Array 'di.bitsnum[3]' accessed at index 9998, which is out of bounds.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/vartype.c:4513]: (error) Array 'di.bitsnum[3]' accessed at index 9998, which is out of bounds.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/vartype.c:5583]: (error) Array 'di_result.bitsnum[3]' accessed at index 9998, which is out of bounds.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/vartype.c:5585]: (error) Array 'di_result.bitsnum[3]' accessed at index 9998, which is out of bounds.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oledb32/errorinfo.c:235]: (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/oledb32/tests/convert.c:1369] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/oledb32/tests/convert.c:1370]: (performance) Buffer 'src' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oledb32/tests/convert.c:1857] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/oledb32/tests/convert.c:1858]: (performance) Buffer 'src' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oledb32/tests/convert.c:2286]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oledb32/tests/convert.c:2516]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oleaut32/typelib.c:6711]: (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/oledb32/tests/database.c:84]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/oledb32/tests/database.c:524]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/opengl32/tests/opengl.c:498]: (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/opengl32/tests/opengl.c:538]: (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/opengl32/tests/opengl.c:848]: (style) The scope of the variable 'pf1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/opengl32/tests/opengl.c:848]: (style) The scope of the variable 'pf2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/opengl32/tests/opengl.c:349]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/opengl32/wgl.c:274]: (style) The scope of the variable 'context' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/opengl32/wgl.c:765]: (style) The scope of the variable 'gl_ext' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/opengl32/wgl.c:1292]: (style) The scope of the variable 'width_int' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/opengl32/wgl.c:1865]: (style) The scope of the variable 'gl_ext' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/packager/tests/oleobj.c:417]: (style) The scope of the variable 'contents' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/psapi/tests/psapi_main.c:362]: (style) The scope of the variable 'szModPath' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/psapi/tests/psapi_main.c:362]: (style) The scope of the variable 'szMapBaseName' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/psapi/tests/psapi_main.c:307]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/psapi/tests/psapi_main.c:379]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/psapi/tests/psapi_main.c:390]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/psapi/tests/psapi_main.c:438]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/psapi/tests/psapi_main.c:510]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/psapi/tests/psapi_main.c:536]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/psapi/tests/psapi_main.c:538]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/psapi/tests/psapi_main.c:558]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/psapi/tests/psapi_main.c:559]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/propsys/tests/propsys.c:738]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/propsys/tests/propsys.c:741]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/propsys/tests/propsys.c:759]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qcap/avimux.c:298]: (style) The scope of the variable 'sample' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qcap/avimux.c:1838]: (style) The scope of the variable 'cur' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qcap/avimux.c:575]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qcap/avimux.c:384]: (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/qcap/avimux.c:388]: (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/qcap/avimux.c:390]: (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/qcap/avimux.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/qcap/tests/qcap.c:1942] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/qcap/tests/qcap.c:1946]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qcap/tests/qcap.c:1948] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/qcap/tests/qcap.c:1952]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qcap/tests/qcap.c:154]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qcap/tests/qcap.c:164]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qcap/tests/qcap.c:1984]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qcap/tests/qcap.c:1983]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qcap/tests/qcap.c:1988]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qcap/tests/smartteefilter.c:524]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qcap/tests/smartteefilter.c:1615]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qcap/tests/smartteefilter.c:1617]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qcap/tests/smartteefilter.c:1619]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qcap/vfwcapture.c:546]: (style) The scope of the variable 'pin' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qedit/tests/mediadet.c:570] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/qedit/tests/mediadet.c:574]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qedit/tests/mediadet.c:576] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/qedit/tests/mediadet.c:580]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qedit/tests/mediadet.c:582] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/qedit/tests/mediadet.c:586]: (performance) Variable 'refcount' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qedit/tests/mediadet.c:588]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qedit/tests/mediadet.c:617]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qedit/tests/mediadet.c:656]: (style) Variable 'refcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/qmgr/enum_files.c:93]: (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/qmgr/enum_jobs.c:92]: (style) The scope of the variable 'job' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/avisplit.c:1118]: (style) Redundant condition: list.fcc==FOURCC_LIST. 'A || (!A && B)' is equivalent to 'A || B'
[/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/dsoundrender.c:471] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/dsoundrender.c:494]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/enumregfilters.c:156]: (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/quartz/filesource.c:838]: (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/quartz/filtergraph.c:374]: (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/quartz/filtergraph.c:2008]: (style) The scope of the variable 'pfilter' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/filtergraph.c:5319]: (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/quartz/main.c:182]: (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/quartz/pin.c:65] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/pin.c:73]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/pin.c:728] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/pin.c:733]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/regsvr.c:183] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/regsvr.c:186]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/regsvr.c:251] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/regsvr.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/quartz/regsvr.c:277] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/regsvr.c:280]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/regsvr.c:357] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/regsvr.c:360]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/regsvr.c:397] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/regsvr.c:402]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/regsvr.c:450] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/regsvr.c:455]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/tests/filtergraph.c:171]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/videorenderer.c:208] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/videorenderer.c:213]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/quartz/vmr9.c:2955]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/caret.c:1116] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/caret.c:1124]: (performance) Variable 'is_selection' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/caret.c:551]: (style) The scope of the variable 'end_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/riched20/caret.c:551]: (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/riched20/editor.c:397]: (style) The scope of the variable 'colorNum' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/editor.c:992]: (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/riched20/editor.c:2412]: (style) The scope of the variable 'eop_style' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/paint.c:32]: (style) The scope of the variable 'ys' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/paint.c:713]: (style) The scope of the variable 'paraAfterRow' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/paint.c:905]: (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/riched20/paint.c:905]: (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/riched20/paint.c:393]: (style) Variable 'selected' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/editor.c:2857]: (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/riched20/editor.c:4585]: (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/riched20/para.c:812]: (style) The scope of the variable 'curFmt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/reader.c:408]: (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/riched20/reader.c:1030]: (style) The scope of the variable 'real_style' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/richole.c:479]: (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/riched20/richole.c:482]: (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/riched20/run.c:643]: (style) The scope of the variable 'ppos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/table.c:403]: (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/riched20/table.c:412]: (style) The scope of the variable 'pFmt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/table.c:413]: (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/riched20/table.c:466]: (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/riched20/tests/editor.c:1900] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:1902]: (performance) Variable 'link_present' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:1941] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:2035]: (performance) Variable 'urlRet' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:3811] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:3815]: (performance) Variable 'p' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:3815] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:3820]: (performance) Variable 'p' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:3820] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:3827]: (performance) Variable 'p' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:3841] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:3845]: (performance) Variable 'p' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:3845] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:3850]: (performance) Variable 'p' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:3850] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:3857]: (performance) Variable 'p' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:4968] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:4970]: (performance) Variable 'result' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5764] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5767]: (performance) Variable 'result' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5767] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5778]: (performance) Variable 'result' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5791] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5794]: (performance) Variable 'result' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5794] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5804]: (performance) Variable 'result' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:99]: (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/riched20/tests/editor.c:2713]: (style) The scope of the variable 'y_before' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:3893]: (style) The scope of the variable 'brackCount' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:7183]: (style) The scope of the variable 'lines' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:679]: (warning) Suspicious code: sign conversion of - in calculation, even though - can have a negative value
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:681]: (warning) Suspicious code: sign conversion of - in calculation, even though - can have a negative value
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:1476]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:1771]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:1772]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:1809]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:1810]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:4024]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:4385]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:4910]: (style) Variable 'result' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:4970]: (style) Variable 'result' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5280]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5281]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5283]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5284]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5292]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5293]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5295]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5302]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5303]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5305]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5313]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5314]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5316]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5324]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5325]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5327]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5524]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:5577]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:7054]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:7059]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:7064]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:7069]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:7074]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:7079]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/editor.c:8515]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:262]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:270]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:281]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:289]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:297]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:298]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:304]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:305]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:311]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:312]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:318]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:319]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:325]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:326]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:332]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:333]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:340]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:347]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:353]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:376]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:380]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:389]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:393]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:403]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:406]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:419]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:421]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:423]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:434]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:436]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:438]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:449]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:451]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:453]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:631]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:2629]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/richole.c:504]: (style) Condition '!is64bit' is always true
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/txtsrv.c:530]: (style) struct member 'STDCALL_TO_THISCALL_THUNK::vtablefunc_offset' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/txtsrv.c:760]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/tests/txtsrv.c:764]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/undo.c:75]: (style) The scope of the variable 'head' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/wrap.c:70]: (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/riched20/wrap.c:507]: (style) The scope of the variable 'pp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/wrap.c:550]: (style) Condition '0=="Splittable, but no whitespaces"' is always false
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/writer.c:246]: (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/riched20/writer.c:495]: (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/riched20/writer.c:495]: (style) The scope of the variable 'style' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/writer.c:559]: (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/riched20/writer.c:1118]: (style) The scope of the variable 'nLen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/writer.c:479]: (style) Variable 'props' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched20/writer.c:776]: (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/riched32/tests/editor.c:1408] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/riched32/tests/editor.c:1410]: (performance) Variable 'result' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched32/tests/editor.c:1144]: (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/riched32/tests/editor.c:889]: (warning) Suspicious code: sign conversion of - in calculation, even though - can have a negative value
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched32/tests/editor.c:891]: (warning) Suspicious code: sign conversion of - in calculation, even though - can have a negative value
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched32/tests/editor.c:587]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched32/tests/editor.c:626]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched32/tests/editor.c:1070]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched32/tests/editor.c:1077]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched32/tests/editor.c:1349]: (style) Variable 'result' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched32/tests/editor.c:1348]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched32/tests/editor.c:1410]: (style) Variable 'result' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/riched32/tests/editor.c:1407]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/cstub.c:489]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/ndr_contexthandle.c:345] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/ndr_contexthandle.c:345]: (warning, inconclusive) Either the condition '!pBuff' is redundant or there is possible null pointer dereference: context_ndr.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/ndr_marshall.c:1672]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/ndr_marshall.c:1673]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/ndr_marshall.c:1676]: (portability) Casting between integer* and double* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/ndr_marshall.c:1677]: (portability) Casting between integer* and double* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/ndr_marshall.c:2867]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/ndr_marshall.c:2877]: (portability) Casting between integer* and double* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/ndr_marshall.c:3037]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/ndr_marshall.c:3047]: (portability) Casting between integer* and double* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/ndr_marshall.c:805]: (style) The scope of the variable 'm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/ndr_marshall.c:873]: (style) The scope of the variable 'm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/ndr_marshall.c:1043]: (style) The scope of the variable 'm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/ndr_marshall.c:5902]: (style) The scope of the variable 'saved_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/rpcrt4/ndr_stubless.c:443]: (portability) Casting between integer* and double* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/ndr_stubless.c:444]: (portability, inconclusive) Casting from float* to char* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/rpc_server.c:648]: (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/rpcrt4/rpc_server.c:733]: (style) The scope of the variable 'cps' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/rpc_server.c:1134]: (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/rpcrt4/rpc_server.c:452]: (style) Variable 'RPCRT4_SetThreadCurrentCallHandle' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/rpc_server.c:493]: (style) Variable 'status' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/rpc_transport.c:2859]: (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/rpcrt4/rpcrt4_main.c:347]: (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/rpcrt4/tests/cstub.c:1116] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/cstub.c:1122]: (performance) Variable 'r' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/cstub.c:66]: (style) struct member '_MIDL_PROC_FORMAT_STRING::Pad' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/cstub.c:72]: (style) struct member '_MIDL_TYPE_FORMAT_STRING::Pad' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/cstub.c:815]: (style) Variable 'vtbl' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/cstub.c:168]: (portability) Undefined behaviour, pointer arithmetic 'if1_FormatStringOffsetTable+-3' is out of bounds. From chapter 6.5.6 in the C specification:\012"When an expression that has integer type is added to or subtracted from a pointer, .." and then "If both the pointer operand and the result point to elements of the same array object, or one past the last element of the array object, the evaluation shall not produce an overflow; otherwise, the behavior is undefined."
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/cstub.c:231]: (portability) Undefined behaviour, pointer arithmetic 'if2_FormatStringOffsetTable+-3' is out of bounds. From chapter 6.5.6 in the C specification:\012"When an expression that has integer type is added to or subtracted from a pointer, .." and then "If both the pointer operand and the result point to elements of the same array object, or one past the last element of the array object, the evaluation shall not produce an overflow; otherwise, the behavior is undefined."
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/cstub.c:286]: (portability) Undefined behaviour, pointer arithmetic 'if3_FormatStringOffsetTable+-3' is out of bounds. From chapter 6.5.6 in the C specification:\012"When an expression that has integer type is added to or subtracted from a pointer, .." and then "If both the pointer operand and the result point to elements of the same array object, or one past the last element of the array object, the evaluation shall not produce an overflow; otherwise, the behavior is undefined."
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/cstub.c:330]: (portability) Undefined behaviour, pointer arithmetic 'if4_FormatStringOffsetTable+-3' is out of bounds. From chapter 6.5.6 in the C specification:\012"When an expression that has integer type is added to or subtracted from a pointer, .." and then "If both the pointer operand and the result point to elements of the same array object, or one past the last element of the array object, the evaluation shall not produce an overflow; otherwise, the behavior is undefined."
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:530]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:539]: (portability) Casting between integer* and double* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:598] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:604]: (performance) Variable 'Buffer' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:600] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:605]: (performance) Variable 'mem' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:1540] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:1546]: (performance) Variable 'Buffer' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:1542] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:1547]: (performance) Variable 'mem' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:1671] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:1677]: (performance) Variable 'Buffer' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:1673] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:1678]: (performance) Variable 'mem' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:1744] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:1750]: (performance) Variable 'Buffer' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:1746] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:1751]: (performance) Variable 'mem' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/rpc.c:661]: (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/rpcrt4/tests/ndr_marshall.c:566]: (style) Variable 'p2' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:567]: (style) Variable 'ch' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:746]: (style) Variable 'size' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/rpc.c:601]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/rpc.c:618]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/rpc.c:644]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:1687]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:1714]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:1760]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:1787]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/ndr_marshall.c:1789]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/rpc_async.c:73]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/rpc_async.c:78]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/server.c:1054]: (style) Variable 'i' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/server.c:1515]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rpcrt4/tests/server.c:1388]: (error) Array 'ca[5]' accessed at index 5, which is out of bounds.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/implglue.c:304]: (style) The scope of the variable 'in_reversed' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/md2.c:103]: (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/rsaenh/mpi.c:108]: (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/rsaenh/mpi.c:144]: (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/rsaenh/mpi.c:144]: (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/rsaenh/mpi.c:156]: (style) The scope of the variable 'rr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:257]: (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/rsaenh/mpi.c:292]: (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/rsaenh/mpi.c:446]: (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/rsaenh/mpi.c:606]: (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/rsaenh/mpi.c:685]: (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/rsaenh/mpi.c:782]: (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/rsaenh/mpi.c:783]: (style) The scope of the variable 'tmpx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:927]: (style) The scope of the variable 'mu' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:1131]: (style) The scope of the variable 'qq' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:1158]: (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/rsaenh/mpi.c:1158]: (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/rsaenh/mpi.c:1261]: (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/rsaenh/mpi.c:1312]: (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/rsaenh/mpi.c:1312]: (style) The scope of the variable 'rr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:1313]: (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/rsaenh/mpi.c:1388]: (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/rsaenh/mpi.c:1388]: (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/rsaenh/mpi.c:1460]: (style) The scope of the variable 'rr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:1501]: (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/rsaenh/mpi.c:2881]: (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/rsaenh/mpi.c:2881]: (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/rsaenh/mpi.c:2894]: (style) The scope of the variable 'rr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:2982]: (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/rsaenh/mpi.c:2983]: (style) The scope of the variable 'mu' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:3202]: (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/rsaenh/mpi.c:3689]: (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/rsaenh/mpi.c:3810]: (style) The scope of the variable 'mu' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:3910]: (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/rsaenh/mpi.c:3928]: (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/rsaenh/mpi.c:4226]: (style) The scope of the variable 'pb' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:4227]: (style) The scope of the variable 'u' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:4229]: (style) The scope of the variable 'tmpx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:4229]: (style) The scope of the variable 'tmpt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:4229]: (style) The scope of the variable 'tmpy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:4296]: (style) The scope of the variable 'u' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:4298]: (style) The scope of the variable 'tmpx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:4298]: (style) The scope of the variable 'tmpt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:4298]: (style) The scope of the variable 'tmpy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:4353]: (style) The scope of the variable 'u' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:4353]: (style) The scope of the variable 'tmpx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:4353]: (style) The scope of the variable 'tmpt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:4414]: (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/rsaenh/des.c:1336]: (style) The scope of the variable 'raw0' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/rc4.c:63]: (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/rsaenh/rc4.c:91]: (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/rsaenh/mpi.c:2384]: (error) va_list 'args' used before va_start() was called.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/mpi.c:2386]: (error) va_list 'args' used before va_start() was called.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:572]: (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/rsaenh/sha2.c:901]: (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/rsaenh/sha2.c:976]: (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/rsaenh/rsaenh.c:3080]: (style) Variable 'pKeyContainer' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/tests/rsaenh.c:1696] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/tests/rsaenh.c:1699]: (performance) Variable 'result' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/tests/rsaenh.c:1660]: (style) The scope of the variable 'pszBuffer' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:279]: (style) Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:280]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:477]: (style) Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:484]: (style) Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:500]: (style) Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:527]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:530]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:536]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:540]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:566]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:587]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:589]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:607]: (style) Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:608]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:799]: (style) Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:806]: (style) Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:822]: (style) Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:844]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:847]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:853]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:857]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:896]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:916]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:918]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:936]: (style) Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:937]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:971]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:991]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/rsaenh/sha2.c:993]: (style) Obsolescent function 'bzero' called. It is recommended to use 'memset' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/sane.ds/capability.c:162]: (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/schedsvc/svc_main.c:91] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/schedsvc/svc_main.c:96]: (performance) Variable 'dwControlsAccepted' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/scrrun/dictionary.c:149]: (style) The scope of the variable 'pair' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/schedsvc/tests/rpcapi.c:481] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/schedsvc/tests/rpcapi.c:482]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/schedsvc/tests/rpcapi.c:482] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/schedsvc/tests/rpcapi.c:483]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/schedsvc/tests/rpcapi.c:483] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/schedsvc/tests/rpcapi.c:484]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/schedsvc/tests/rpcapi.c:510]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/scrrun/dictionary.c:807]: (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/scrrun/dictionary.c:811]: (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/scrrun/dictionary.c:815]: (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/scrrun/dictionary.c:841]: (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/scrrun/dictionary.c:844]: (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/scrrun/dictionary.c:847]: (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/scrrun/tests/dictionary.c:208]: (style) struct member 'Anonymous0::sign' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/scrrun/tests/dictionary.c:220]: (style) struct member 'Anonymous1::sign' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/secur32/dispatcher.c:154]: (style) The scope of the variable 'read_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/secur32/dispatcher.c:305]: (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/secur32/dispatcher.c:306]: (style) The scope of the variable 'newline' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/secur32/dispatcher.c:307]: (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/secur32/tests/main.c:149]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/secur32/tests/secur32.c:364]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/secur32/tests/schannel.c:447] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/secur32/tests/schannel.c:449]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/secur32/tests/schannel.c:218]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/secur32/tests/schannel.c:761]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/secur32/tests/schannel.c:774]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/secur32/tests/schannel.c:709]: (style) Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/secur32/tests/schannel.c:723]: (error) Resource leak: sock
[/home/igor/wine-src/wine-2.0-rc5/dlls/secur32/thunks.c:361]: (style) The scope of the variable 'commentLen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/secur32/util.c:204]: (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/secur32/util.c:231]: (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/secur32/util.c:231]: (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/serialui/confdlg.c:152]: (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/setupapi/dirid.c:178]: (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/setupapi/dirid.c:246]: (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/setupapi/dirid.c:275]: (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/setupapi/fakedll.c:886]: (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/setupapi/fakedll.c:750]: (error) Uninitialized struct member: attr_value.ptr
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/fakedll.c:750]: (error) Uninitialized struct member: attr_value.len
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/parser.c:1135]: (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/setupapi/parser.c:1360]: (style) The scope of the variable 'section_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/setupapi/parser.c:1400]: (style) The scope of the variable 'section_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/setupapi/parser.c:1459]: (style) The scope of the variable 'section_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/setupapi/queue.c:93]: (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/setupapi/stringtable.c:306] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/stringtable.c:308]: (warning) Either the condition '!table' is redundant or there is possible null pointer dereference: table.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/stringtable.c:497] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/stringtable.c:498]: (performance) Buffer 'extraptr' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/devinst.c:407]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/devinst.c:474]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/devinst.c:519]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/devinst.c:599]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/devinst.c:718]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/devinst.c:721]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/devinst.c:819]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/devinst.c:857]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/devinst.c:953]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/devinst.c:956]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/devinst.c:1001]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/devinst.c:1054]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/devinst.c:1060]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/devinst.c:1106]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/devinst.c:1159]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/devinst.c:1165]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/devinst.c:1344]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/misc.c:599] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/misc.c:608]: (performance) Variable 'type' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupapi/tests/misc.c:137]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/setupx.dll16/virtcopy.c:440]: (style) The scope of the variable 'lpvn' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/assoc.c:251]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/autocomplete.c:105]: (style) The scope of the variable 'hwndQCText' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/autocomplete.c:108]: (style) The scope of the variable 'cpt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/autocomplete.c:108]: (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/shell32/autocomplete.c:108]: (style) The scope of the variable 'sel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/brsfolder.c:107]: (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/shell32/classes.c:250]: (style) The scope of the variable 'sTemp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/classes.c:251]: (style) The scope of the variable 'sNum' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/cpanelfolder.c:295]: (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/shell32/cpanelfolder.c:296]: (style) The scope of the variable 'iconIdx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/cpanelfolder.c:298]: (style) The scope of the variable 'displayName' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/cpanelfolder.c:299]: (style) The scope of the variable 'comment' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/cpanelfolder.c:334]: (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/shell32/cpanelfolder.c:335]: (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/shell32/cpanelfolder.c:760]: (style) The scope of the variable 'pcpanel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/cpanelfolder.c:682]: (style) Variable 'wszPath' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/iconcache.c:559]: (style) The scope of the variable 'iShortcutDefaultIndex' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/pidl.c:605]: (style) The scope of the variable 'szData1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/pidl.c:606]: (style) The scope of the variable 'szData2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/pidl.c:1059]: (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/shell32/pidl.c:2451]: (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/shell32/shell32_main.c:435] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shell32_main.c:441]: (warning) Either the condition 'psfi!=0' is redundant or there is possible null pointer dereference: psfi.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shell32_main.c:319] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shell32_main.c:327]: (performance) Variable 'status' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shell32_main.c:671]: (style) The scope of the variable 'szExt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shelldispatch.c:744]: (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/shell32/shelllink.c:1971]: (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/shell32/shelllink.c:981]: (style) Variable 'szFinalPath' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shelllink.c:1109]: (style) Variable 'r' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shelllink.c:626]: (style) Defensive programming: The variable 'len' 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/shell32/shellord.c:921]: (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/shell32/shellord.c:923]: (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/shell32/shellpath.c:3995]: (style) The scope of the variable 'szValueName' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shellpath.c:4259]: (style) The scope of the variable 'pszDesktop' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shellpath.c:654]: (style) Variable 'lpszFileA' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shellpath.c:4729]: (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/shell32/shfldr_unixfs.c:2027] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shfldr_unixfs.c:2033]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shfldr_unixfs.c:1856]: (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/shell32/shfldr_unixfs.c:2440]: (style) The scope of the variable 'pDirEntry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shfldr_unixfs.c:1540]: (portability) Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shfldr_unixfs.c:1544]: (portability) Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shfldr_unixfs.c:2443]: (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/shell32/shlexec.c:1737]: (style) Variable 'dwApplicationNameLen' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shlfileop.c:1185]: (style) The scope of the variable 'entryToCopy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shlfileop.c:1332]: (style) The scope of the variable 'fileEntry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shlfileop.c:1406]: (style) The scope of the variable 'entryToMove' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shlfileop.c:1613]: (style) The scope of the variable 'drv_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/shell32/shlfileop.c:1650]: (style) The scope of the variable 'drv_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/shell32/shlfileop.c:1743]: (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/shell32/shlmenu.c:319]: (style) The scope of the variable 'myItem' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shlview.c:749]: (style) The scope of the variable 'nTools' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shlview.c:749]: (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/shell32/shlview.c:1873]: (style) The scope of the variable 'nPartArray' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/shlview.c:182]: (style) struct member 'MYTOOLINFO::idButtonString' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/assoc.c:290]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/assoc.c:208]: (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/shell32/tests/ebrowser.c:1045]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/ebrowser.c:1046]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/ebrowser.c:1047]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/ebrowser.c:1048]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/ebrowser.c:1711]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/ebrowser.c:1714]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/ebrowser.c:1717]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/ebrowser.c:1720]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/ebrowser.c:1730]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/ebrowser.c:1742]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/ebrowser.c:1745]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/ebrowser.c:1748]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/ebrowser.c:1751]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/ebrowser.c:1773]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:208]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:281]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:282]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:283]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:284]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:285]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:286]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:287]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:288]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:289]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:290]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:291]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:292]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:293]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:294]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:295]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:296]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:297]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:298]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/progman_dde.c:299]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelldispatch.c:197]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelldispatch.c:256]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelldispatch.c:258]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelldispatch.c:425]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelldispatch.c:427]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelldispatch.c:448]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelldispatch.c:472]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelldispatch.c:474]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelldispatch.c:700]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelldispatch.c:704]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelldispatch.c:728]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelldispatch.c:731]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelldispatch.c:874]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellole.c:883]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellole.c:886]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellole.c:887]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelllink.c:1028] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelllink.c:1036]: (performance) Buffer 'buffer' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelllink.c:1028] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelllink.c:1041]: (performance) Buffer 'buffer' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelllink.c:1028] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelllink.c:1046]: (performance) Buffer 'buffer' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelllink.c:1028] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelllink.c:1051]: (performance) Buffer 'buffer' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shelllink.c:241]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shfldr_special.c:64]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shfldr_special.c:90]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shfldr_special.c:93]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shfldr_special.c:119]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shfldr_special.c:121]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:810] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:811]: (performance) Variable 'dwFlags' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:825] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:826]: (performance) Variable 'dwFlags' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:2673] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:2674]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:630]: (style) The scope of the variable 'windowsDir' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:699]: (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/shell32/tests/shellpath.c:775]: (style) The scope of the variable 'modifiedPath' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:2056]: (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/shell32/tests/shellpath.c:246]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:247]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:248]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:249]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:250]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:251]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:252]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:253]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:254]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:255]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:256]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:257]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:258]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:259]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:260]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:261]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:262]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:263]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:264]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:265]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:266]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:267]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:268]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:269]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:270]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:271]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:272]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:273]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:274]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:275]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:276]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:277]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:278]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:279]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:280]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:281]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:282]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:283]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:284]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:285]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:286]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:287]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:288]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:289]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:290]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:291]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:292]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:293]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:294]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:295]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:296]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:297]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:298]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:299]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:300]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:301]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:302]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:303]: (style) Unused variable: x
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlexec.c:1644]: (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/shell32/tests/shlexec.c:824]: (style) The scope of the variable 'cmd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:2014]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlexec.c:1580]: (style) The scope of the variable 'bad' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlexec.c:1581]: (style) The scope of the variable 'cmd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlexec.c:1582]: (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/shell32/tests/shellpath.c:2125]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlexec.c:1843]: (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/shell32/tests/shellpath.c:2127]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:2308]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:2449]: (style) Variable 'win_skip' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:2455]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:2457]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:2462]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:2467]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:2469]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:2474]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shellpath.c:2674]: (style) Variable 'res' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlexec.c:1785]: (style) Variable 'okChildString_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlexec.c:1787]: (style) Variable 'okChildPath_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlexec.c:1960]: (style) Variable 'okChildString_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlexec.c:1961]: (style) Variable 'okChildString_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlexec.c:1979]: (style) Variable 'okChildString_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlexec.c:2008]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlexec.c:2186]: (style) Variable 'okChildString_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlexec.c:2189]: (style) Variable 'okChildPath_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlexec.c:2309]: (style) Variable 'okChildString_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlexec.c:2310]: (style) Variable 'okChildPath_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlexec.c:2879]: (style) Variable 'okChildPath_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlexec.c:2892]: (style) Variable 'okChildPath_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlexec.c:2904]: (style) Variable 'okChildPath_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlfileop.c:198]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlfileop.c:199]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlfileop.c:236]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlfileop.c:237]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlfileop.c:340]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlfileop.c:453]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlfileop.c:484]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/msg.h:50] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/msg.h:41]: (style) Variable 'id' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlview.c:359] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/msg.h:41]: (style) Function argument 'id' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlview.c:404] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/msg.h:41]: (style) Function argument 'id' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlview.c:576] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/msg.h:41]: (style) Function argument 'id' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlview.c:581] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/msg.h:41]: (style) Function argument 'id' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlfolder.c:4448]: (style) The scope of the variable '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/shell32/tests/shlview.c:1158] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlview.c:1169]: (performance) Variable 'vista_plus' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/trash.c:661]: (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/shell32/tests/shlfolder.c:1812]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlfolder.c:2161]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlfolder.c:2175]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlfolder.c:2595]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlfolder.c:2654]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlfolder.c:3289]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/tests/shlfolder.c:3596]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shell32/trash.c:230]: (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/shell32/xdg.c:346]: (style) Defensive programming: The variable 'pos' 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/shlwapi/msgbox.c:256]: (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/shlwapi/path.c:3933]: (style) The scope of the variable 'dwLen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shlwapi/path.c:3934]: (style) The scope of the variable 'dwRet' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shlwapi/path.c:3964]: (style) The scope of the variable 'dwLen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shlwapi/path.c:3965]: (style) The scope of the variable 'dwRet' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shlwapi/path.c:767]: (style) Variable 'lpszArgs' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shlwapi/ordinal.c:3203] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/shlwapi/ordinal.c:3206]: (performance) Variable 'hRet' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shlwapi/ordinal.c:2345]: (style) The scope of the variable 'xmove' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shlwapi/reg.c:466]: (style) The scope of the variable 'src' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shlwapi/reg.c:466]: (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/shlwapi/reg.c:517]: (style) The scope of the variable 'src' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shlwapi/reg.c:517]: (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/shlwapi/ordinal.c:2052]: (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/shlwapi/ordinal.c:5056]: (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/shlwapi/ordinal.c:5078]: (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/shlwapi/tests/path.c:297]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shlwapi/tests/path.c:315]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shlwapi/tests/path.c:492]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shlwapi/tests/shreg.c:202] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/shlwapi/tests/shreg.c:205]: (performance) Variable 'sTestedFunction' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shlwapi/tests/ordinal.c:2808]: (warning, inconclusive) Multiplying sizeof() with sizeof() indicates a logic error.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shlwapi/tests/string.c:1567] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/shlwapi/tests/string.c:1568]: (performance) Buffer 'buf' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/shlwapi/tests/string.c:460]: (style) The scope of the variable 'return_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/shlwapi/tests/string.c:475]: (style) The scope of the variable 'return_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/shlwapi/tests/ordinal.c:2537]: (error) Uninitialized variable: cookie
[/home/igor/wine-src/wine-2.0-rc5/dlls/snmpapi/main.c:501]: (style) The scope of the variable 'null_oid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/snmpapi/main.c:502]: (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/snmpapi/main.c:538]: (style) The scope of the variable 'null_oid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/spoolss/tests/spoolss.c:168]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/sti/tests/sti.c:137]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/strmbase/outputqueue.c:134]: (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/storage.dll16/storage.c:802]: (style) The scope of the variable 'nextblocknr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/storage.c:802]: (style) The scope of the variable 'bigblocknr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/storage.c:833]: (style) The scope of the variable 'nextsmallblocknr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:45]: (style) Variable 'QueryInterface' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:46]: (style) Variable 'AddRef' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:47]: (style) Variable 'Release' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:49]: (style) Variable 'ReadAt' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:50]: (style) Variable 'WriteAt' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:51]: (style) Variable 'Flush' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:52]: (style) Variable 'SetSize' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:53]: (style) Variable 'LockRegion' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:54]: (style) Variable 'UnlockRegion' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:55]: (style) Variable 'Stat' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:82]: (style) Variable 'QueryInterface' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:83]: (style) Variable 'AddRef' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:84]: (style) Variable 'Release' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:86]: (style) Variable 'Read' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:87]: (style) Variable 'Write' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:89]: (style) Variable 'Seek' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:90]: (style) Variable 'SetSize' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:91]: (style) Variable 'CopyTo' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:92]: (style) Variable 'Commit' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:93]: (style) Variable 'Revert' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:94]: (style) Variable 'LockRegion' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:95]: (style) Variable 'UnlockRegion' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:96]: (style) Variable 'Stat' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:97]: (style) Variable 'Clone' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:111]: (style) Variable 'QueryInterface' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:112]: (style) Variable 'AddRef' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:113]: (style) Variable 'Release' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:115]: (style) Variable 'CreateStream' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:116]: (style) Variable 'OpenStream' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:117]: (style) Variable 'CreateStorage' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:118]: (style) Variable 'OpenStorage' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:119]: (style) Variable 'CopyTo' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:120]: (style) Variable 'MoveElementTo' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:121]: (style) Variable 'Commit' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:122]: (style) Variable 'Revert' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:123]: (style) Variable 'EnumElements' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:124]: (style) Variable 'DestroyElement' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:125]: (style) Variable 'RenameElement' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:126]: (style) Variable 'SetElementTimes' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:127]: (style) Variable 'SetClass' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:128]: (style) Variable 'SetStateBits' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/ifs.h:129]: (style) Variable 'Stat' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/storage.c:770]: (style) Variable 'bbs' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/storage.c:902]: (style) Variable 'sbd' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/storage.dll16/storage.c:969]: (style) Variable 'sbd' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/strmbase/pin.c:71] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/strmbase/pin.c:79]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/strmbase/pospass.c:709] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/strmbase/pospass.c:712]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/strmbase/seeking.c:208] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/strmbase/seeking.c:230]: (warning) Either the condition 'if(pCurrent)' is redundant or there is possible null pointer dereference: pModifier.
[/home/igor/wine-src/wine-2.0-rc5/dlls/strmbase/seeking.c:211] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/strmbase/seeking.c:230]: (warning) Either the condition 'if(pCurrent)' is redundant or there is possible null pointer dereference: pModifier.
[/home/igor/wine-src/wine-2.0-rc5/dlls/sxs/tests/cache.c:114]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/taskschd/tests/scheduler.c:155]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/taskschd/tests/scheduler.c:364]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/twain_32/dsm_ctrl.c:203]: (style) The scope of the variable 'modname' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/typelib.dll16/typelib.c:80]: (style) The scope of the variable 'xguid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ucrtbase/tests/string.c:35]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ucrtbase/tests/string.c:44]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ucrtbase/tests/printf.c:72]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ucrtbase/tests/printf.c:79]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ucrtbase/tests/printf.c:86]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/axinstall.c:225]: (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/urlmon/axinstall.c:197]: (style) Variable 'len' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/axinstall.c:289]: (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/urlmon/binding.c:715]: (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/urlmon/internet.c:548] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/internet.c:111]: (style, inconclusive) The function parameter 'feature_control' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/internet.c:584] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/internet.c:111]: (style, inconclusive) The variable 'feature_control' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/misc.c:1531] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/misc.c:1540]: (performance) Variable 'size' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/misc.c:705]: (style) The scope of the variable 'proposed_mime' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/protocol.c:2666] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/protocol.c:2668]: (performance, inconclusive) Variable 'expect_GetBindInfo' 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/urlmon/tests/protocol.c:2710] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/protocol.c:2712]: (performance, inconclusive) Variable 'expect_GetBindInfo' 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/urlmon/tests/protocol.c:3425] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/protocol.c:3427]: (performance, inconclusive) Variable 'expect_GetBindInfo' 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/urlmon/tests/sec_mgr.c:1211] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/sec_mgr.c:1218]: (performance) Buffer 'buffer' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/sec_mgr.c:1211] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/sec_mgr.c:1225]: (performance) Buffer 'buffer' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/sec_mgr.c:1211] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/sec_mgr.c:1232]: (performance) Buffer 'buffer' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/sec_mgr.c:1916]: (style) The scope of the variable 'url_from' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/sec_mgr.c:1916]: (style) The scope of the variable 'url_to' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/sec_mgr.c:1878]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/umon.c:357]: (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/urlmon/umon.c:823]: (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/urlmon/tests/url.c:1861]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/url.c:1873]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/url.c:1896]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/url.c:2374]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/url.c:2375]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/uri.c:8533] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/uri.c:8539]: (performance) Variable 'uri' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/uri.c:8796] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/uri.c:8803]: (performance) Variable 'has_prop' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/uri.c:8891] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/uri.c:8898]: (performance) Variable 'has_prop' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/uri.c:8986] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/uri.c:8993]: (performance) Variable 'has_prop' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/uri.c:9081] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/uri.c:9088]: (performance) Variable 'has_prop' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/uri.c:9243] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/uri.c:9250]: (performance) Variable 'has_prop' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/uri.c:9338] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/uri.c:9345]: (performance) Variable 'has_prop' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/uri.c:9434] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/uri.c:9440]: (performance) Variable 'has_prop' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/uri.c:10695]: (style) The scope of the variable 'url' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/uri.c:10695]: (style) The scope of the variable 'base_url' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/tests/url.c:2021]: (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/urlmon/uri.c:3580]: (style) The scope of the variable 'pptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/uri.c:3617]: (style) The scope of the variable 'pptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/uri.c:3666]: (style) The scope of the variable 'pptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/uri.c:3756]: (style) The scope of the variable 'pptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/uri.c:3787]: (style) The scope of the variable 'pptr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/urlmon/uri.c:6640]: (style) Variable 'path_len' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usbd.sys/usbd.c:42]: (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/user.exe16/comm.c:977]: (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/user.exe16/comm.c:781]: (style) Variable 'ptr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user.exe16/message.c:2396]: (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/user.exe16/message.c:2396]: (style) The scope of the variable 'remaining' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user.exe16/message.c:2396]: (style) The scope of the variable 'item_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/user.exe16/user.c:884]: (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/user.exe16/user.c:916]: (style) The scope of the variable 'ptr32' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user.exe16/user.c:942]: (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/user.exe16/user.c:987]: (style) The scope of the variable 'ptr16' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user.exe16/user.c:3195]: (style) The scope of the variable 'argliststart' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user.exe16/user.c:1093]: (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/user.exe16/window.c:195]: (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/user32/button.c:842]: (style) The scope of the variable 'delta' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/clipboard.c:490] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/clipboard.c:491]: (performance) Buffer 'bmi' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/clipboard.c:514] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/clipboard.c:515]: (performance) Buffer 'bmi' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/dde_client.c:1377]: (style) The scope of the variable 'pXAct' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/cursoricon.c:311]: (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/user32/cursoricon.c:311]: (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/user32/cursoricon.c:1184]: (style) The scope of the variable 'bmi' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/cursoricon.c:1567]: (style) The scope of the variable 'ptrNew' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/cursoricon.c:2389]: (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/user32/cursoricon.c:2600]: (style) Unused variable: res
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/dde_misc.c:1519]: (style) The scope of the variable 'pDd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/cursoricon.c:1222]: (error) Uninitialized variable: cursor
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/defwnd.c:739]: (style) Variable 'result' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/defwnd.c:881]: (style) Variable 'result' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/dialog.c:1865]: (style) Variable 'hwnd' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/dialog.c:963]: (portability) Undefined behaviour, pointer arithmetic 'buffer-2' is out of bounds. From chapter 6.5.6 in the C specification:\012"When an expression that has integer type is added to or subtracted from a pointer, .." and then "If both the pointer operand and the result point to elements of the same array object, or one past the last element of the array object, the evaluation shall not produce an overflow; otherwise, the behavior is undefined."
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/exticon.c:115]: (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/user32/exticon.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/user32/edit.c:2266] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/edit.c:2260]: (warning) Either the condition 'line_def' is redundant or there is possible null pointer dereference: line_def.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/edit.c:655]: (style) The scope of the variable 'piDx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/edit.c:656]: (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/user32/focus.c:127]: (style) The scope of the variable 'phwnd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/listbox.c:1798]: (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/user32/menu.c:1005]: (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/user32/menu.c:1169]: (style) The scope of the variable 'orgX' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/menu.c:1169]: (style) The scope of the variable 'orgY' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/menu.c:1169]: (style) The scope of the variable 'maxTab' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/menu.c:1169]: (style) The scope of the variable 'maxTabWidth' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/message.c:2358]: (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/user32/menu.c:2020]: (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/user32/menu.c:3059]: (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/user32/menu.c:3622]: (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/user32/menu.c:3642]: (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/user32/msgbox.c:243]: (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/user32/msgbox.c:243]: (style) The scope of the variable 'h' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/property.c:217]: (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/user32/property.c:239]: (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/user32/resource.c:104]: (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/user32/resource.c:124]: (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/user32/spy.c:2491]: (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/user32/spy.c:2538]: (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/user32/spy.c:2539]: (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/user32/spy.c:2073]: (error) Signed integer overflow for expression '2147483648+(8)'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/scroll.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/user32/scroll.c:464]: (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/user32/sysparams.c:1050] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/sysparams.c:1051]: (performance) Buffer 'buffer' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/sysparams.c:1451]: (style) The scope of the variable 'spi_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/user32/tests/clipboard.c:1496]: (style) Variable 'old_seq' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/combo.c:145]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/dce.c:115]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/dce.c:442]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/dce.c:443]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/dce.c:446]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/cursoricon.c:1143]: (style) The scope of the variable 'icon_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/user32/tests/cursoricon.c:324]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/cursoricon.c:325]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/dde.c:98]: (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/user32/tests/dde.c:100]: (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/user32/tests/dde.c:101]: (style) The scope of the variable 'poke' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/dde.c:863]: (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/user32/tests/dde.c:864]: (style) The scope of the variable 'ack' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/dde.c:962]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/dde.c:2555]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/dde.c:2558]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/dde.c:2563]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/dde.c:2567]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/dde.c:2570]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/dde.c:2581]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/dde.c:2583]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:874] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:419]: (style) Function argument 'lparam' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:874] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:418]: (style) Function argument 'wparam' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:910] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:423]: (style) Variable 'hook' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:984] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:423]: (style) Function argument 'hook' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:1158] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:423]: (style) Variable 'hook' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:1232] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:419]: (style) Function argument 'lparam' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:1232] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:418]: (style) Function argument 'wparam' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:1234] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:423]: (style) Variable 'hook' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:1258] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:419]: (style) Function argument 'lparam' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:1258] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:418]: (style) Function argument 'wparam' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:1260] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:423]: (style) Variable 'hook' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:1797] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:419]: (style) Variable 'lparam' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:936]: (style) Redundant condition: prevWndProc==0. 'prevWndProc!=0 || (prevWndProc==0 && GetLastError()==0)' is equivalent to 'prevWndProc!=0 || GetLastError()==0'
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:280]: (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/user32/tests/input.c:280]: (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/user32/tests/input.c:280]: (style) The scope of the variable 'm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:280]: (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/user32/tests/input.c:1217]: (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/user32/tests/input.c:728]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:752]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:766]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:807]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:830]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:840]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:1532]: (style) Variable 'devcount' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:1701]: (style) Variable 'state' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/input.c:2022]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/listbox.c:1537]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/listbox.c:1538]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/listbox.c:1616]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/menu.c:192]: (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/user32/tests/menu.c:836]: (style) The scope of the variable 'expect' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:5800] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:123]: (style) Variable 'parent' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:6272] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:123]: (style) Variable 'parent' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:8180] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:123]: (style) Variable 'parent' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:9798] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:123]: (style) Variable 'parent' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:10282] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:123]: (style) Variable 'parent' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:12364] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:123]: (style) Variable 'parent' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:13446] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:123]: (style) Variable 'parent' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:15238] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:123]: (style) Variable 'parent' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/resource.c:38]: (style) The scope of the variable 'copiedstring' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/resource.c:38]: (style) The scope of the variable 'returnedstring' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/scroll.c:341]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/scroll.c:377]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/menu.c:201]: (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/user32/tests/msg.c:5932]: (warning) %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:5940]: (warning) %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:5949]: (warning) %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:5991]: (warning) %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:5996]: (warning) %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:6003]: (warning) %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:16010]: (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/user32/tests/sysparams.c:814]: (style) Variable 'old_border' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/sysparams.c:2510]: (style) Variable 'change_ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:15998]: (style) The scope of the variable 'pIsWinEventHookInstalled' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:11041]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:11044]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:11057]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:11072]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:11103]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:13917]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/msg.c:15618]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:596] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:600]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:612] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:616]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:636] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:640]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:650] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:654]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:684] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:688]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:694] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:699]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:708] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:712]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:757] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:761]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:223]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:224]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:281]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:773]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:958]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/winstation.c:959]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/text.c:142]: (style) The scope of the variable 'lo' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/text.c:142]: (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/user32/text.c:142]: (style) The scope of the variable 'hi' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/text.c:616]: (style) The scope of the variable 'seg_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/user32/text.c:616]: (style) The scope of the variable 'seg_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/user32/text.c:616]: (style) The scope of the variable 'seg_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/user32/text.c:1088]: (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/user32/text.c:1090]: (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/user32/tests/win.c:1366] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:1372]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:1372] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:1377]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:7546]: (style) The scope of the variable 'expectedMinTrackX' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:7547]: (style) The scope of the variable 'expectedMinTrackY' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:7548]: (style) The scope of the variable 'actualMinTrackX' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:7549]: (style) The scope of the variable 'actualMinTrackY' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:7550]: (style) The scope of the variable 'expectedMaxTrackX' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:7551]: (style) The scope of the variable 'expectedMaxTrackY' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:7552]: (style) The scope of the variable 'actualMaxTrackX' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:7553]: (style) The scope of the variable 'actualMaxTrackY' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:7554]: (style) The scope of the variable 'expectedMaxSizeX' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:7555]: (style) The scope of the variable 'expectedMaxSizeY' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:7556]: (style) The scope of the variable 'actualMaxSizeX' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:7557]: (style) The scope of the variable 'actualMaxSizeY' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:7558]: (style) The scope of the variable 'expectedPosX' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:7559]: (style) The scope of the variable 'expectedPosY' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:7560]: (style) The scope of the variable 'actualPosX' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:7561]: (style) The scope of the variable 'actualPosY' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:7809]: (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/user32/tests/win.c:1367]: (style) Variable 'error' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:2688]: (style) Variable 'check_active_state_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:3334]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:8845]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:9394]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:9396]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/tests/win.c:9479]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/uitools.c:1659] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/user32/uitools.c:1664]: (performance) Variable 'hbm' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/uitools.c:363]: (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/user32/uitools.c:366]: (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/user32/uitools.c:582]: (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/user32/uitools.c:858]: (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/user32/uitools.c:918]: (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/user32/uitools.c:1130]: (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/user32/win.c:308]: (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/user32/win.c:1880]: (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/user32/win.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/user32/win.c:3145]: (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/user32/win.c:1373]: (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/user32/winpos.c:247]: (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/user32/winpos.c:288]: (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/user32/winpos.c:1857]: (style) Variable 'winposCopy' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/user32/winproc.c:464]: (style) Variable 'str' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/userenv/tests/userenv.c:49]: (style) The scope of the variable 'envlen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/bidi.c:1196]: (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/usp10/indic.c:41]: (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/usp10/opentype.c:501]: (style) The scope of the variable '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/usp10/opentype.c:1414]: (style) The scope of the variable 'index_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/usp10/opentype.c:1948]: (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/usp10/opentype.c:2071]: (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/usp10/opentype.c:2237]: (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/usp10/opentype.c:2243]: (style) The scope of the variable 'feature_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/usp10/shape.c:758]: (style) The scope of the variable 'replacing_glyph' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/shape.c:759]: (style) The scope of the variable 'changed' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/shape.c:1734]: (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/usp10/shape.c:1761]: (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/usp10/shape.c:1790]: (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/usp10/shape.c:1819]: (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/usp10/shape.c:2828]: (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/usp10/shape.c:2997]: (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/usp10/shape.c:3085]: (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/usp10/shape.c:3116]: (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/usp10/shape.c:3157]: (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/usp10/shape.c:3379]: (style) The scope of the variable 'feature' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/usp10.c:2619]: (style) Redundant condition: iCluster!=-1. 'iCluster==-1 || (iCluster!=-1 && iCluster+clust_size<=item)' is equivalent to 'iCluster==-1 || iCluster+clust_size<=item'
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/usp10.c:1024]: (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/usp10/usp10.c:1368]: (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/usp10/usp10.c:1502]: (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/usp10/usp10.c:2478]: (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/usp10/usp10.c:2787]: (style) The scope of the variable 'cluster_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/usp10/usp10.c:3056]: (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/usp10/usp10.c:3058]: (style) The scope of the variable 'cluster' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/usp10.c:3059]: (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/usp10/usp10.c:3235]: (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/usp10/usp10.c:3307]: (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/usp10/usp10.c:3772]: (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/usp10/usp10.c:3772]: (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/usp10/tests/usp10.c:2107] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:2112]: (performance) Variable 'cChars' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:1845]: (style) The scope of the variable 'cChars' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:1846]: (style) The scope of the variable 'cMaxGlyphs' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:1848]: (style) The scope of the variable 'pwOutGlyphs2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:1849]: (style) The scope of the variable 'pwLogClust' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:1852]: (style) The scope of the variable 'piAdvance' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:1855]: (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/usp10/tests/usp10.c:2374]: (style) The scope of the variable 'cChars' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:2375]: (style) The scope of the variable 'cMaxGlyphs' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:2376]: (style) The scope of the variable 'pwOutGlyphs1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:2385]: (style) The scope of the variable 'iCP' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:2387]: (style) The scope of the variable 'psla' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:2489]: (style) The scope of the variable 'cChars' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:2490]: (style) The scope of the variable 'cMaxGlyphs' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:2491]: (style) The scope of the variable 'pwOutGlyphs1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:2495]: (style) The scope of the variable 'piAdvance' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:2572]: (style) The scope of the variable 'cChars' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:2573]: (style) The scope of the variable 'cMaxGlyphs' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:2574]: (style) The scope of the variable 'pwOutGlyphs1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:2578]: (style) The scope of the variable 'piAdvance' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:2906]: (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/usp10/tests/usp10.c:2907]: (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/usp10/tests/usp10.c:2910]: (style) The scope of the variable 'MinSel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:2911]: (style) The scope of the variable 'MaxSel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/usp10/tests/usp10.c:2990]: (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/usp10/tests/usp10.c:2112]: (style) Variable 'cChars' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/draw.c:561] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/draw.c:566]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/draw.c:665] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/draw.c:679]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/draw.c:1835]: (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/uxtheme/draw.c:1740]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/draw.c:1788]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/metric.c:45]: (style) The scope of the variable 'tp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/metric.c:76]: (style) The scope of the variable 'tp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/metric.c:108]: (style) The scope of the variable 'tp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/metric.c:168]: (style) The scope of the variable 'tp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/metric.c:169]: (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/uxtheme/system.c:274]: (style) The scope of the variable 'colorStr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/system.c:276]: (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/uxtheme/system.c:807]: (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/uxtheme/system.c:137]: (style) Variable 'dwUnExpDataLen' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/tests/system.c:242] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/tests/system.c:243]: (performance) Variable 'hTheme2' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/tests/system.c:152]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/tests/system.c:160]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/tests/system.c:190]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/tests/system.c:309]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/tests/system.c:317]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/tests/system.c:347]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/tests/system.c:401]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/tests/system.c:438]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/uxtheme/tests/system.c:450]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/vbscript/global.c:1367] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/vbscript/global.c:1367]: (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/vbscript/global.c:1280]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/home/igor/wine-src/wine-2.0-rc5/dlls/vbscript/compile.c:102]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/home/igor/wine-src/wine-2.0-rc5/dlls/vbscript/compile.c:1545]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/home/igor/wine-src/wine-2.0-rc5/dlls/vbscript/interp.c:428]: (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/vbscript/interp.c:2063]: (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/vbscript/interp.c:2076]: (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/vbscript/lex.c:182]: (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/vbscript/lex.c:182]: (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/vbscript/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/vbscript/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/vbscript/tests/createobj.c:509] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/vbscript/tests/createobj.c:504]: (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/vbscript/tests/createobj.c:510] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/vbscript/tests/createobj.c:504]: (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/vbscript/tests/run.c:1371] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/vbscript/tests/run.c:1380]: (warning) Either the condition 'pdp!=0' is redundant or there is possible null pointer dereference: pdp.
[/home/igor/wine-src/wine-2.0-rc5/dlls/vbscript/tests/run.c:1372] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/vbscript/tests/run.c:1380]: (warning) Either the condition 'pdp!=0' is redundant or there is possible null pointer dereference: pdp.
[/home/igor/wine-src/wine-2.0-rc5/dlls/vbscript/tests/run.c:1376] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/vbscript/tests/run.c:1380]: (warning) Either the condition 'pdp!=0' is redundant or there is possible null pointer dereference: pdp.
[/home/igor/wine-src/wine-2.0-rc5/dlls/vbscript/tests/run.c:1399] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/vbscript/tests/run.c:1403]: (warning) Either the condition 'pdp!=0' is redundant or there is possible null pointer dereference: pdp.
[/home/igor/wine-src/wine-2.0-rc5/dlls/vbscript/tests/run.c:783]: (style) The scope of the variable 'arg' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/vbscript/vbdisp.c:479]: (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/vbscript/vbdisp.c:580]: (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/vbscript/vbscript.c:219]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/home/igor/wine-src/wine-2.0-rc5/dlls/vbscript/vbregexp.c:1225]: (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/vbscript/vbregexp.c:1251]: (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/vbscript/vbregexp.c:1277]: (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/vcomp/tests/vcomp.c:1490]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ver.dll16/version.c:55]: (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/ver.dll16/version.c:111]: (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/ver.dll16/version.c:112]: (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/ver.dll16/version.c:112]: (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/version/tests/install.c:145]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/version/version.c:79]: (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/version/version.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/wbemprox/builtin.c:2233]: (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/wbemprox/builtin.c:1033]: (style) struct member 'record_systemenclosure::lockpresent' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wbemprox/tests/query.c:1001]: (style) The scope of the variable 'sd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wbemprox/tests/query.c:168]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wbemprox/tests/services.c:78]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wbemprox/tests/services.c:81]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/msg.c:209]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/reader.c:2436]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/reader.c:2353]: (portability) Casting from double* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/reader.c:2358]: (portability) Casting from double* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/reader.c:2363]: (portability) Casting from double* to integer* is not portable due to different binary data representations on different platforms.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/reader.c:1508]: (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/webservices/reader.c:1630]: (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/webservices/reader.c:1676]: (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/webservices/reader.c:1739]: (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/webservices/reader.c:4718]: (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/webservices/reader.c:1692]: (style) Variable 'ch' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/reader.c:1749]: (style) Variable 'ch' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/tests/msg.c:169]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/tests/proxy.c:523]: (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/webservices/tests/proxy.c:523]: (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/webservices/tests/proxy.c:302]: (style) Variable 'test2W' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/tests/proxy.c:569]: (style) Variable 'res' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/tests/proxy.c:531]: (error) Resource leak: s
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/tests/reader.c:1688]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/tests/reader.c:1689]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/tests/reader.c:1701]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/tests/reader.c:1702]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/tests/reader.c:1703]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/tests/reader.c:1772]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/tests/reader.c:3120]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/url.c:100]: (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/webservices/tests/writer.c:29]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/tests/writer.c:38]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/tests/writer.c:244]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/tests/writer.c:1767]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/tests/writer.c:1820]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/tests/writer.c:1823]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/writer.c:1240]: (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/webservices/writer.c:1240]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/writer.c:1240]: (warning) %u in format string (no. 3) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/writer.c:1240]: (warning) %u in format string (no. 4) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/writer.c:1240]: (warning) %u in format string (no. 5) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/writer.c:1240]: (warning) %u in format string (no. 6) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/writer.c:1244]: (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/webservices/writer.c:1254]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/writer.c:2792] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/writer.c:2798]: (warning) Either the condition '!writer' is redundant or there is possible null pointer dereference: writer.
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/writer.c:451]: (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/wer/main.c:239]: (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/wer/tests/main.c:227]: (style) Variable 'report' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/win87em.dll16/win87em.c:152]: (style) Unused variable: save
[/home/igor/wine-src/wine-2.0-rc5/dlls/webservices/writer.c:1135]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses.
[/home/igor/wine-src/wine-2.0-rc5/dlls/win87em.dll16/win87em.c:152]: (style) Unused variable: mask
[/home/igor/wine-src/wine-2.0-rc5/dlls/winaspi.dll16/winaspi.c:163]: (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/winaspi.dll16/winaspi.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/winaspi.dll16/winaspi.c:224]: (style) The scope of the variable 'cdb' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winaspi.dll16/winaspi.c:197]: (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/winaspi.dll16/winaspi.c:198]: (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/winaspi.dll16/winaspi.c:199]: (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/windowscodecs/converter.c:1152] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:1159]: (warning) Either the condition 'SUCCEEDED(hr)&&prc' is redundant or there is possible null pointer dereference: prc.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:1153] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:1159]: (warning) Either the condition 'SUCCEEDED(hr)&&prc' is redundant or there is possible null pointer dereference: prc.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:151]: (style) The scope of the variable 'srcbyte' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:152]: (style) The scope of the variable 'dstrow' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:153]: (style) The scope of the variable 'dstpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:218]: (style) The scope of the variable 'srcbyte' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:219]: (style) The scope of the variable 'dstrow' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:220]: (style) The scope of the variable 'dstpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:281]: (style) The scope of the variable 'srcbyte' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:282]: (style) The scope of the variable 'dstrow' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:283]: (style) The scope of the variable 'dstpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:341]: (style) The scope of the variable 'srcbyte' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:342]: (style) The scope of the variable 'dstrow' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:343]: (style) The scope of the variable 'dstpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:383]: (style) The scope of the variable 'srcbyte' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:384]: (style) The scope of the variable 'dstrow' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:385]: (style) The scope of the variable 'dstpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:436]: (style) The scope of the variable 'srcbyte' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:437]: (style) The scope of the variable 'dstrow' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:438]: (style) The scope of the variable 'dstpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:477]: (style) The scope of the variable 'srcrow' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:478]: (style) The scope of the variable 'srcpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:479]: (style) The scope of the variable 'dstrow' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:480]: (style) The scope of the variable 'dstpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:525]: (style) The scope of the variable 'srcrow' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:526]: (style) The scope of the variable 'srcpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:527]: (style) The scope of the variable 'dstrow' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:528]: (style) The scope of the variable 'dstpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:573]: (style) The scope of the variable 'srcrow' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:574]: (style) The scope of the variable 'srcpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:575]: (style) The scope of the variable 'dstrow' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:576]: (style) The scope of the variable 'dstpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:622]: (style) The scope of the variable 'srcpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:624]: (style) The scope of the variable 'dstpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:665]: (style) The scope of the variable 'srcpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:667]: (style) The scope of the variable 'dstpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:754]: (style) The scope of the variable 'srcpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:755]: (style) The scope of the variable 'dstrow' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:756]: (style) The scope of the variable 'dstpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:798]: (style) The scope of the variable 'srcpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:799]: (style) The scope of the variable 'dstrow' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:800]: (style) The scope of the variable 'dstpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:937]: (style) The scope of the variable 'srcpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:939]: (style) The scope of the variable 'dstpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:1048]: (style) The scope of the variable 'srcpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/converter.c:1050]: (style) The scope of the variable 'dstpixel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/gifformat.c:711]: (style) The scope of the variable 'eb' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/gifformat.c:1195]: (style) The scope of the variable 'eb' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/icoformat.c:323]: (style) The scope of the variable 'bitsRow' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/info.c:1691]: (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/windowscodecs/info.c:2050]: (style) The scope of the variable 'cursor2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:188] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:194]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:353] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:359]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:403] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:409]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:531] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:537]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:581] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:587]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:688] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:694]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:738] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:744]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:898] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:904]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:948] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:954]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:1073] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/regsvr.c:1079]: (performance) Variable 'res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/tests/bitmap.c:745] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/tests/bitmap.c:787]: (performance) Buffer 'pal_buf' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/tests/bmpformat.c:64]: (style) The scope of the variable 'bmpdata' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/tests/bmpformat.c:285]: (style) The scope of the variable 'bmpdata' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/tests/bmpformat.c:443]: (style) The scope of the variable 'bmpdata' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/tests/bmpformat.c:613]: (style) The scope of the variable 'bmpdata' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/tests/bmpformat.c:782]: (style) The scope of the variable 'bmpdata' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/tests/bmpformat.c:921]: (style) The scope of the variable 'patterns' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/tests/bmpformat.c:926]: (style) The scope of the variable 'bmpdata' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/tests/bmpformat.c:1019]: (style) The scope of the variable 'bmpdata' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/tests/converter.c:594]: (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/windowscodecs/tests/info.c:390]: (style) The scope of the variable 'patterns' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/tests/metadata.c:1100]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/tgaformat.c:616]: (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/windowscodecs/tgaformat.c:622]: (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/windowscodecs/tgaformat.c:622]: (style) The scope of the variable 'attribute_bitcount' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/tgaformat.c:622]: (style) The scope of the variable 'attribute_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/windowscodecs/tgaformat.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/windowscodecs/tgaformat.c:829]: (style) The scope of the variable 'datasize' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/tgaformat.c:75]: (style) struct member 'tga_extension_area::author_name' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/tgaformat.c:76]: (style) struct member 'tga_extension_area::author_comments' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/tgaformat.c:78]: (style) struct member 'tga_extension_area::job_name' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/tgaformat.c:80]: (style) struct member 'tga_extension_area::software_id' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/tgaformat.c:82]: (style) struct member 'tga_extension_area::software_version_letter' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/windowscodecs/ungif.c:309]: (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/windowscodecs/ungif.c:392]: (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/winealsa.drv/midi.c:297]: (style) The scope of the variable 'npfd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winealsa.drv/midi.c:298]: (style) The scope of the variable 'pfd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winealsa.drv/midi.c:70]: (style) struct member 'WINE_MIDIIN::incoming' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winealsa.drv/midi.c:71]: (style) struct member 'WINE_MIDIIN::incPrev' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winealsa.drv/mmdevdrv.c:552]: (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/winealsa.drv/mmdevdrv.c:3983]: (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/winealsa.drv/mmdevdrv.c:3983]: (warning) %u in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winealsa.drv/mmdevdrv.c:3986]: (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/winealsa.drv/mmdevdrv.c:548]: (style) The scope of the variable 'cardnameW' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winealsa.drv/mmdevdrv.c:2082]: (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/winealsa.drv/mmdevdrv.c:3996]: (style) The scope of the variable 'val_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/winebus.sys/main.c:150]: (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/winebus.sys/main.c:294]: (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/winecoreaudio.drv/audiounit.c:164] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winecoreaudio.drv/audiounit.c:166]: (performance) Variable 'err' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winecoreaudio.drv/audiounit.c:185] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winecoreaudio.drv/audiounit.c:187]: (performance) Variable 'err' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winecoreaudio.drv/coremidi.c:42] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winecoreaudio.drv/coremidi.c:45]: (performance) Variable 'err' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winecoreaudio.drv/midi.c:353] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winecoreaudio.drv/midi.c:355]: (performance) Variable 'err' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winecoreaudio.drv/midi.c:561]: (style) The scope of the variable 'chn' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/arb_program_shader.c:368]: (style) The scope of the variable 'lconst' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/arb_program_shader.c:369]: (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/wined3d/arb_program_shader.c:369]: (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/wined3d/arb_program_shader.c:775]: (style) The scope of the variable 'lconst' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/arb_program_shader.c:3543]: (style) The scope of the variable 'semantic_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/wined3d/arb_program_shader.c:4686]: (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/wined3d/arb_program_shader.c:5427]: (style) The scope of the variable 'constant' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/wined3d_private.h:134]: (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/wined3d/wined3d_private.h:135]: (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/wined3d/wined3d_private.h:136]: (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/wined3d/wined3d_private.h:137]: (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/wined3d/wined3d_private.h:249]: (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/wined3d/ati_fragment_shader.c:711]: (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/wined3d/ati_fragment_shader.c:753]: (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/wined3d/ati_fragment_shader.c:765]: (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/wined3d/ati_fragment_shader.c:862]: (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/wined3d/arb_program_shader.c:2103]: (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/wined3d/arb_program_shader.c:2224]: (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/wined3d/arb_program_shader.c:2267]: (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/wined3d/arb_program_shader.c:2308]: (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/wined3d/arb_program_shader.c:2349]: (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/wined3d/buffer.c:702]: (style) The scope of the variable 'context' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/buffer.c:813]: (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/wined3d/buffer.c:813]: (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/wined3d/buffer.c:877]: (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/wined3d/buffer.c:877]: (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/wined3d/buffer.c:877]: (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/wined3d/context.c:3254]: (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/wined3d/context.c:514]: (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/wined3d/context.c:1153]: (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/wined3d/context.c:2543]: (style) The scope of the variable '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/wined3d/cs.c:367]: (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/wined3d/cs.c:394]: (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/wined3d/context.c:554]: (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/wined3d/context.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/wined3d/device.c:348]: (error) Possible null pointer dereference: depth_stencil
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/device.c:349]: (error) Possible null pointer dereference: depth_stencil
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/device.c:350]: (error) Possible null pointer dereference: depth_stencil
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/device.c:351]: (error) Possible null pointer dereference: depth_stencil
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/device.c:688]: (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/wined3d/device.c:977]: (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/wined3d/device.c:4956]: (style) The scope of the variable '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/wined3d/device.c:5122]: (style) The scope of the variable 'context' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/device.c:348]: (style) Variable 'drawable_width' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/directx.c:2583]: (style) The scope of the variable 'gl_extension_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/wined3d/nvidia_texture_shader.c:624]: (style) The scope of the variable 'mat' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/glsl_shader.c:467]: (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/wined3d/glsl_shader.c:561]: (style) The scope of the variable 'prefix' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/glsl_shader.c:1429]: (style) The scope of the variable 'position_fixup' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/glsl_shader.c:1632]: (style) The scope of the variable 'parent_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/wined3d/glsl_shader.c:1714]: (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/wined3d/glsl_shader.c:1734]: (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/wined3d/glsl_shader.c:1889]: (style) The scope of the variable 'lconst' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/glsl_shader.c:2485]: (style) The scope of the variable 'imm_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/wined3d/glsl_shader.c:3225]: (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/wined3d/glsl_shader.c:3664]: (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/wined3d/glsl_shader.c:5841]: (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/wined3d/glsl_shader.c:5842]: (style) The scope of the variable 'semantic_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/wined3d/glsl_shader.c:5844]: (style) The scope of the variable 'reg_mask' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/glsl_shader.c:6229]: (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/wined3d/glsl_shader.c:7943]: (style) The scope of the variable 'tmp_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/wined3d/glsl_shader.c:8552]: (style) The scope of the variable 'ctx_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/wined3d/glsl_shader.c:9377]: (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/wined3d/glsl_shader.c:6881]: (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/wined3d/query.c:583]: (style) The scope of the variable 'gl_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/wined3d/shader.c:466]: (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/wined3d/shader.c:514]: (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/wined3d/shader.c:3050]: (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/wined3d/shader.c:2353]: (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/wined3d/shader_sm1.c:522]: (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/wined3d/shader_sm1.c:528]: (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/wined3d/shader_sm1.c:744]: (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/wined3d/stateblock.c:1107] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/stateblock.c:1109]: (performance, inconclusive) Variable 'f' 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/wined3d/stateblock.c:1109] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/stateblock.c:1111]: (performance, inconclusive) Variable 'f' 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/wined3d/stateblock.c:1111] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/stateblock.c:1146]: (performance, inconclusive) Variable 'f' 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/wined3d/stateblock.c:1146] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/stateblock.c:1148]: (performance, inconclusive) Variable 'f' 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/wined3d/stateblock.c:1148] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/stateblock.c:1152]: (performance, inconclusive) Variable 'f' 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/wined3d/stateblock.c:1152] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/stateblock.c:1154]: (performance, inconclusive) Variable 'f' 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/wined3d/stateblock.c:1154] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/stateblock.c:1156]: (performance, inconclusive) Variable 'f' 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/wined3d/stateblock.c:1156] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/stateblock.c:1161]: (performance, inconclusive) Variable 'f' 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/wined3d/stateblock.c:1161] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/stateblock.c:1164]: (performance, inconclusive) Variable 'f' 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/wined3d/stateblock.c:1164] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/stateblock.c:1168]: (performance, inconclusive) Variable 'f' 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/wined3d/stateblock.c:1168] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/stateblock.c:1176]: (performance, inconclusive) Variable 'f' 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/wined3d/stateblock.c:1176] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/stateblock.c:1180]: (performance, inconclusive) Variable 'f' 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/wined3d/stateblock.c:1180] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/stateblock.c:1183]: (performance, inconclusive) Variable 'f' 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/wined3d/stateblock.c:1183] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/stateblock.c:1185]: (performance, inconclusive) Variable 'f' 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/wined3d/stateblock.c:427]: (style) The scope of the variable 'uav' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/stateblock.c:431]: (style) The scope of the variable 'texture' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/stateblock.c:433]: (style) The scope of the variable 'shader' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/state.c:445]: (style) The scope of the variable 'rt_fmt_flags' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/state.c:1701]: (style) The scope of the variable 'scale' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/state.c:1948]: (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/wined3d/state.c:4938]: (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/wined3d/state.c:3023]: (style) Variable 'Handled' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/state.c:4631]: (style) Variable 'width' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/state.c:4675]: (style) Variable 'width' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/surface.c:1313]: (style) The scope of the variable 'dst_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/wined3d/surface.c:1314]: (style) The scope of the variable 'src_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/wined3d/surface.c:3848]: (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/wined3d/surface.c:3851]: (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/wined3d/surface.c:3854]: (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/wined3d/state.c:1504]: (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/wined3d/state.c:1505]: (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/wined3d/state.c:1506]: (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/wined3d/state.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/wined3d/state.c:1508]: (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/wined3d/state.c:1509]: (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/wined3d/state.c:1510]: (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/wined3d/state.c:1511]: (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/wined3d/state.c:1529]: (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/wined3d/state.c:4659]: (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/wined3d/surface.c:2866]: (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/wined3d/surface.c:3417]: (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/wined3d/swapchain.c:439]: (style) The scope of the variable 'sub_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/wined3d/texture.c:220]: (error) Possible null pointer dereference: gl_info
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/texture.c:221]: (error) Possible null pointer dereference: gl_info
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/texture.c:222]: (error) Possible null pointer dereference: gl_info
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/texture.c:223]: (error) Possible null pointer dereference: gl_info
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/texture.c:106]: (style) The scope of the variable 'sub_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/wined3d/texture.c:507]: (style) The scope of the variable 'sub_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/wined3d/texture.c:1452]: (style) The scope of the variable 'texture_level' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/texture.c:2383]: (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/wined3d/texture.c:2067]: (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/wined3d/utils.c:4879] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/utils.c:4881]: (performance, inconclusive) Variable 'd' 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/wined3d/utils.c:843]: (style) The scope of the variable 'dst_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/wined3d/utils.c:879]: (style) The scope of the variable 'dst_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/wined3d/utils.c:902]: (style) The scope of the variable 'dst_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/wined3d/utils.c:923]: (style) The scope of the variable 'src_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/wined3d/utils.c:925]: (style) The scope of the variable 'dst_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/wined3d/utils.c:946]: (style) The scope of the variable 'dst_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/wined3d/utils.c:969]: (style) The scope of the variable 'dst_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/wined3d/utils.c:989]: (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/wined3d/utils.c:1855]: (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/wined3d/utils.c:2070]: (style) The scope of the variable 'source' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/utils.c:2072]: (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/wined3d/utils.c:2440]: (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/wined3d/utils.c:2720]: (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/wined3d/utils.c:2720]: (style) The scope of the variable 'max_log2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wined3d/utils.c:3030]: (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/wined3d/utils.c:3383]: (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/wined3d/utils.c:3434]: (style) The scope of the variable 'depth_view_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/wined3d/utils.c:3434]: (style) The scope of the variable 'stencil_view_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/wined3d/utils.c:3605]: (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/wined3d/utils.c:1926]: (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/wined3d/utils.c:4788]: (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/wined3d/vertexdeclaration.c:232]: (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/winejoystick.drv/joystick_linux.c:165]: (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/winejoystick.drv/joystick_linux.c:225]: (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/winejoystick.drv/joystick_linux.c:231]: (style) Variable 'jstck' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/clipboard.c:485] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/clipboard.c:486]: (performance) Buffer 'bmi' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/clipboard.c:444]: (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/winemac.drv/clipboard.c:444]: (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/winemac.drv/clipboard.c:880]: (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/winemac.drv/clipboard.c:932]: (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/winemac.drv/clipboard.c:959]: (style) Variable 'dst' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/clipboard.c:1350]: (style) Variable 'dst' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/image.c:81]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/ime.c:1298]: (style) The scope of the variable 'myPrivate' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/opengl.c:1853] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/opengl.c:251]: (style, inconclusive) The variable 'pixel_format' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/opengl.c:1916] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/opengl.c:251]: (style, inconclusive) The function parameter 'pixel_format' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/opengl.c:2068] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/opengl.c:251]: (style, inconclusive) The variable 'pixel_format' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/opengl.c:2100] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/opengl.c:251]: (style, inconclusive) The variable 'pixel_format' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/opengl.c:2136] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/opengl.c:251]: (style, inconclusive) The variable 'pixel_format' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/opengl.c:3637] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/opengl.c:251]: (style, inconclusive) The variable 'pixel_format' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/opengl.c:3921] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/opengl.c:251]: (style, inconclusive) The variable 'pixel_format' hides a typedef with the same name.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winemac.drv/opengl.c:2034]: (style) Unused variable: err
[/home/igor/wine-src/wine-2.0-rc5/dlls/wineps.drv/psdrv.h:310] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wineps.drv/psdrv.h:297]: (style) Variable 'Builtin' hides enumerator with same name
[/home/igor/wine-src/wine-2.0-rc5/dlls/wineps.drv/builtin.c:419]: (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/wineps.drv/download.c:792]: (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/wineps.drv/driver.c:468] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wineps.drv/driver.c:470]: (warning, inconclusive) Either the condition '!dmW' is redundant or there is possible null pointer dereference: dmW.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wineps.drv/driver.c:239]: (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/wineps.drv/driver.c:73]: (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/wineps.drv/mkagl.c:187]: (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/wineps.drv/mkagl.c:138]: (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/wineps.drv/mkagl.c:216]: (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/wineps.drv/mkagl.c:237]: (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/wineps.drv/mkagl.c:273]: (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/wineps.drv/ps.c:662]: (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/wineps.drv/ps.c:665]: (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/wineps.drv/ps.c:221]: (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/wineps.drv/ps.c:887]: (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/wineps.drv/type1afm.c:1140]: (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/winepulse.drv/mmdevdrv.c:1763] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winepulse.drv/mmdevdrv.c:1770]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winepulse.drv/mmdevdrv.c:1810] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winepulse.drv/mmdevdrv.c:1817]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winepulse.drv/mmdevdrv.c:1849] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winepulse.drv/mmdevdrv.c:1854]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winepulse.drv/mmdevdrv.c:741]: (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/winepulse.drv/mmdevdrv.c:810]: (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/winepulse.drv/mmdevdrv.c:1765]: (style) The scope of the variable 'o' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winepulse.drv/mmdevdrv.c:1811]: (style) The scope of the variable 'o' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winepulse.drv/mmdevdrv.c:2057]: (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/winepulse.drv/mmdevdrv.c:2591]: (style) struct member 'pulse_info_cb_data::levels' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wineqtdecoder/qtvdecoder.c:259] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wineqtdecoder/qtvdecoder.c:268]: (performance) Variable 'err' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wineqtdecoder/qtsplitter.c:1498]: (style) Variable 'late' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/brush.c:110]: (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/winex11.drv/brush.c:110]: (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/winex11.drv/bitblt.c:1859]: (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/winex11.drv/clipboard.c:879] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/clipboard.c:880]: (performance) Buffer 'p' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/clipboard.c:472]: (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/winex11.drv/clipboard.c:472]: (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/winex11.drv/clipboard.c:624]: (style) The scope of the variable 'hostname' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/clipboard.c:1057]: (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/winex11.drv/clipboard.c:1565]: (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/winex11.drv/clipboard.c:1565]: (style) The scope of the variable 'failed' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/clipboard.c:1622]: (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/winex11.drv/event.c:398] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/event.c:400]: (performance, inconclusive) Variable 'current_event' 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/winex11.drv/event.c:1480]: (style) The scope of the variable 'p_drop' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/event.c:1530]: (style) The scope of the variable 'win_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/winex11.drv/event.c:1532]: (style) The scope of the variable 'drop_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/winex11.drv/event.c:1534]: (style) The scope of the variable 'p_drop' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/event.c:1535]: (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/winex11.drv/event.c:1538]: (style) The scope of the variable 'lpDrop' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/event.c:1203]: (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/winex11.drv/clipboard.c:458]: (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/winex11.drv/clipboard.c:1720]: (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/winex11.drv/ime.c:1382]: (style) The scope of the variable 'myPrivate' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/graphics.c:1719]: (style) The scope of the variable 'profile' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/keyboard.c:1474]: (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/winex11.drv/keyboard.c:1474]: (style) The scope of the variable 'mismatch' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/keyboard.c:1474]: (style) The scope of the variable 'seq' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/keyboard.c:1475]: (style) The scope of the variable 'score' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/keyboard.c:1475]: (style) The scope of the variable 'pkey' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/keyboard.c:1477]: (style) The scope of the variable 'lkey' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/mouse.c:1214]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/palette.c:194]: (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/winex11.drv/palette.c:343]: (style) The scope of the variable 'plane_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/winex11.drv/palette.c:437]: (style) The scope of the variable 'c_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/winex11.drv/palette.c:591]: (style) The scope of the variable 'red' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/palette.c:592]: (style) The scope of the variable 'green' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/pen.c:70]: (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/winex11.drv/palette.c:593]: (style) The scope of the variable 'blue' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/palette.c:1003]: (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/winex11.drv/palette.c:1003]: (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/winex11.drv/palette.c:1003]: (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/winex11.drv/palette.c:1084]: (style) The scope of the variable '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/winex11.drv/palette.c:1085]: (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/winex11.drv/palette.c:1293]: (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/winex11.drv/settings.c:322]: (style) Variable 'first' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/settings.c:332]: (style) Variable 'first' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/systray.c:402]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/window.c:506]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/window.c:1061]: (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/winex11.drv/window.c:1061]: (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/winex11.drv/xdnd.c:375]: (style) The scope of the variable 'dropTarget' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/xdnd.c:466]: (style) The scope of the variable 'dropTarget' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winex11.drv/xdnd.c:495]: (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/winex11.drv/xim.c:421]: (style) Variable 'ximStyleCallback' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winhttp/handle.c:128]: (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/winhttp/handle.c:128]: (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/winhttp/cookie.c:52]: (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/winhttp/cookie.c:91]: (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/winhttp/net.c:582]: (style) The scope of the variable 'chunk_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/winhttp/net.c:842]: (style) Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winhttp/session.c:97]: (style) The scope of the variable 'domain' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winhttp/session.c:1854]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winhttp/request.c:475]: (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/winhttp/request.c:666]: (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/winhttp/request.c:3734]: (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/winhttp/request.c:3734]: (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/winhttp/tests/url.c:744]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/cookie.c:99]: (style) The scope of the variable 'subdomain_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/wininet/cookie.c:620]: (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/wininet/cookie.c:979]: (style) Variable 'buf' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winhttp/tests/winhttp.c:180] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winhttp/tests/winhttp.c:186]: (performance) Variable 'size' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winhttp/tests/winhttp.c:186] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winhttp/tests/winhttp.c:192]: (performance) Variable 'size' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winhttp/tests/winhttp.c:192] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winhttp/tests/winhttp.c:197]: (performance) Variable 'size' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winhttp/request.c:1010]: (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/winhttp/request.c:1092]: (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/winhttp/tests/winhttp.c:2070]: (error) Resource leak: s
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/ftp.c:2718]: (error) Possible null pointer dereference: hdr
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/ftp.c:2741]: (error) Possible null pointer dereference: hdr
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/ftp.c:3645]: (style) The scope of the variable 'pszLine' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/ftp.c:3646]: (style) The scope of the variable 'pszToken' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/ftp.c:3656]: (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/wininet/ftp.c:3667]: (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/wininet/ftp.c:3688]: (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/wininet/ftp.c:3696]: (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/wininet/ftp.c:3700]: (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/wininet/ftp.c:3719]: (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/wininet/ftp.c:3741]: (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/wininet/ftp.c:3755]: (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/wininet/ftp.c:3768]: (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/wininet/internet.c:3967] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/internet.c:3973]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/internet.c:3993] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/internet.c:3999]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/http.c:773]: (style) The scope of the variable 'setCookieHeader' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/http.c:1152]: (style) The scope of the variable 'userlen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/http.c:1153]: (style) The scope of the variable 'passlen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/netconnection.c:679]: (style) The scope of the variable 'chunk_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/wininet/tests/ftp.c:764]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/http.c:3808]: (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/wininet/tests/internet.c:559]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/internet.c:1101]: (style) Variable 'template' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/http.c:3016]: (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/wininet/http.c:3026]: (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/wininet/http.c:5229]: (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/wininet/tests/http.c:2761]: (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/wininet/tests/http.c:4846]: (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/wininet/tests/http.c:5580] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/http.c:5590]: (performance) Variable 'err' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/url.c:492] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/url.c:496]: (performance) Buffer 'long_url' is being written before its old content has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/url.c:568]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/url.c:577]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/url.c:819]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/http.c:314]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/http.c:3620]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/http.c:3653]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/http.c:3657]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/http.c:3783]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/http.c:3784]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/http.c:3839]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/http.c:3940]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/http.c:5832]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/http.c:5834]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/http.c:6044]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/http.c:468]: (style) The scope of the variable 'zres' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/urlcache.c:1047] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/urlcache.c:1032]: (warning) Either the condition 'p' is redundant or there is possible null pointer dereference: p.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/tests/http.c:2085]: (error) Resource leak: s
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1285] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1286] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1287] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1288] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1289] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1290] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1291] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1292] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1293] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1294] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1295] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1296] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1298] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1299] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1312] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1314] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning, inconclusive) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1316] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1332] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1353] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1356] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning, inconclusive) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1358] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1376] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1378] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning, inconclusive) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1380] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wininet/urlcache.c:1830]: (warning) Either the condition '!entry_info' is redundant or there is possible null pointer dereference: entry_info.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/lolvldrv.c:204]: (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/winmm/mci.c:1068]: (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/winmm/mci.c:1069]: (style) The scope of the variable 'lmem' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/mci.c:589] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/mci.c:591]: (warning) Either the condition 'uTbl>=20' is redundant or the array 'S_MciCmdTable[20]' is accessed at index 20, which is out of bounds.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/mci.c:2082]: (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/winmm/mci.c:2085]: (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/winmm/tests/joystick.c:130]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/capture.c:307]: (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/winmm/tests/capture.c:168]: (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/winmm/tests/capture.c:169]: (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/winmm/tests/capture.c:205]: (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/winmm/tests/capture.c:206]: (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/winmm/tests/mci.c:210]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mci.c:213]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mci.c:216]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mci.c:220]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mci.c:223]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mci.c:226]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mci.c:249]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mci.c:264]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mci.c:267]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mci.c:270]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mci.c:736]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mci.c:745]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mci.c:755]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mci.c:769]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mci.c:826]: (style) Variable 'test_notification_dbg' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mci.c:841]: (style) Variable 'test_notification_dbg' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mcicda.c:238]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mcicda.c:447]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mcicda.c:542]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mcicda.c:591]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mixer.c:746]: (style) The scope of the variable 'szShortName' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mixer.c:747]: (style) The scope of the variable 'szName' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mmio.c:742] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mmio.c:747]: (performance) Variable 'hmmio' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mmio.c:771] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/mmio.c:776]: (performance) Variable 'hmmio' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/time.c:198]: (style) The scope of the variable 'sleep_time' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/wave.c:884]: (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/winmm/tests/wave.c:71]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/waveform.c:3901]: (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/winmm/waveform.c:3945]: (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/winsock.dll16/socket.c:118]: (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/winsock.dll16/socket.c:312]: (style) Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winsock.dll16/socket.c:329]: (style) Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winsock.dll16/socket.c:346]: (portability) Non reentrant function 'getprotobyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobyname_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winsock.dll16/socket.c:380]: (portability) Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winsock.dll16/socket.c:397]: (portability) Non reentrant function 'getservbyport' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyport_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winsock.dll16/socket.c:685]: (style) Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winsock.dll16/socket.c:696]: (style) Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winsock.dll16/socket.c:707]: (portability) Non reentrant function 'getprotobyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobyname_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winsock.dll16/socket.c:729]: (portability) Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winsock.dll16/socket.c:740]: (portability) Non reentrant function 'getservbyport' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyport_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/tests/info.c:1055] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/tests/info.c:1062]: (performance) Variable 'pcbNeeded' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/tests/info.c:1273] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/tests/info.c:1280]: (performance) Variable 'pcbNeeded' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/tests/info.c:1422] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/tests/info.c:1430]: (performance) Variable 'pcbNeeded' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/tests/info.c:185]: (style) Variable 'ptr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/tests/info.c:1431]: (style) Variable 'pcReturned' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:609]: (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/winspool.drv/info.c:4143]: (error) Possible null pointer dereference: pi2
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4152]: (error) Possible null pointer dereference: pi2
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4161]: (error) Possible null pointer dereference: pi2
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4170]: (error) Possible null pointer dereference: pi2
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4179]: (error) Possible null pointer dereference: pi2
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4188]: (error) Possible null pointer dereference: pi2
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4197]: (error) Possible null pointer dereference: pi2
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4208]: (error) Possible null pointer dereference: pi2
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4217]: (error) Possible null pointer dereference: pi2
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4226]: (error) Possible null pointer dereference: pi2
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4235]: (error) Possible null pointer dereference: pi2
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4244]: (error) Possible null pointer dereference: pi2
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4281]: (error) Possible null pointer dereference: pi4
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4314]: (error) Possible null pointer dereference: pi5
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4323]: (error) Possible null pointer dereference: pi5
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4362]: (error) Possible null pointer dereference: pi7
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4394]: (error) Possible null pointer dereference: pi9
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4403]: (error) Possible null pointer dereference: pi9
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:330]: (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/winspool.drv/info.c:643]: (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/winspool.drv/info.c:3329]: (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/winspool.drv/info.c:3329]: (style) The scope of the variable 'cursor2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:1390]: (style) Variable 'ptr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4114]: (style) Variable 'left' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4113]: (style) Variable 'ptr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4246]: (style) Variable 'left' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4245]: (style) Variable 'ptr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4283]: (style) Variable 'left' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4282]: (style) Variable 'ptr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4325]: (style) Variable 'left' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4324]: (style) Variable 'ptr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4364]: (style) Variable 'left' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:4363]: (style) Variable 'ptr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:5071]: (style) Variable 'strPtr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:6456]: (style) Variable 'ppev' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:7931]: (style) Variable 'left' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:7930]: (style) Variable 'ptr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:8015]: (style) Variable 'left' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winspool.drv/info.c:8014]: (style) Variable 'ptr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintab32/wintab32.c:160]: (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/wintab32/wintab32.c:175]: (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/wintrust/asn.c:1856]: (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/wintrust/asn.c:281]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/asn.c:390]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/asn.c:512]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/asn.c:732]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/asn.c:870]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/asn.c:966]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/asn.c:999]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/asn.c:1028]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/asn.c:1087]: (style) Variable 'ret' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/asn.c:1427]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/asn.c:1820]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/asn.c:2088]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/asn.c:2124]: (style) Variable 'str' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/asn.c:2186]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/asn.c:2268]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/asn.c:2304]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/asn.c:2379]: (style) Variable 'TRACE' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/register.c:380] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/register.c:396]: (performance) Variable 'Res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/register.c:802] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/register.c:813]: (performance) Variable 'Res' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/winmm/tests/wave.c:679]: (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/winmm/tests/wave.c:680]: (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/wintrust/tests/crypt.c:423]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/tests/crypt.c:427]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/tests/crypt.c:485]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/tests/crypt.c:826]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/tests/crypt.c:841]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/tests/crypt.c:848]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/tests/crypt.c:1147]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wintrust/tests/softpub.c:661]: (style) struct member '__IMPORT_BY_NAME::funcname' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wmiutils/tests/path.c:219]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wnaspi32/winaspi32.c:138]: (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/wnaspi32/winaspi32.c:210]: (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/wnaspi32/aspi.c:339]: (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/wnaspi32/winaspi32.c:171]: (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/wnaspi32/winaspi32.c:172]: (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/wnaspi32/winaspi32.c:173]: (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/ws2_32/async.c:108]: (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/ws2_32/async.c:120]: (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/ws2_32/socket.c:1422] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/socket.c:1416]: (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/ws2_32/socket.c:1203]: (style) The scope of the variable 'not_expected' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/socket.c:1395]: (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/ws2_32/socket.c:3404]: (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/ws2_32/socket.c:3864]: (style) The scope of the variable 'req_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/ws2_32/socket.c:3866]: (style) The scope of the variable 'csinfo' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/socket.c:3964]: (style) The scope of the variable 'pretendtime' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/socket.c:6367]: (style) The scope of the variable 'host' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/socket.c:7095]: (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/ws2_32/socket.c:7541]: (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/ws2_32/socket.c:8416]: (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/ws2_32/socket.c:1203]: (style) Variable 'not_expected' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/socket.c:1913]: (style) Variable 'res' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wsock32/protocol.c:67]: (portability) Non reentrant function 'getnetbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getnetbyname_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/socket.c:6070]: (style) Variable 'woptval' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/socket.c:5794]: (style) Unused variable: tval
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/socket.c:8287]: (style) Unused variable: inetaddr
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/socket.c:8358]: (style) Variable 'infoA' is not assigned a value.
[/home/igor/wine-src/wine-2.0-rc5/dlls/wtsapi32/tests/wtsapi.c:89]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4684]: (warning) Return value of function gethostbyname() is not used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/socket.c:6216]: (style) Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/socket.c:6406]: (style) Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/socket.c:6500]: (portability) Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:2264] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:2277]: (performance) Variable 'sock' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:2890] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:2979]: (performance) Variable 'v6' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:3073] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:3163]: (performance) Variable 'v6' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4196] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4199]: (performance) Variable 'connector' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4206] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4209]: (performance) Variable 'connector' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4220] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4223]: (performance) Variable 'connector' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4231] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4234]: (performance) Variable 'connector' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4241] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4244]: (performance) Variable 'connector' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4255] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4258]: (performance) Variable 'connector' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4780] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4781]: (performance) Variable 'pdst' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4788] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4789]: (performance) Variable 'pdst' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4796] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4797]: (performance) Variable 'pdst' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4804] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4805]: (performance) Variable 'pdst' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4833] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4834]: (performance) Variable 'pdst' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4841] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4842]: (performance) Variable 'pdst' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4849] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4850]: (performance) Variable 'pdst' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4857] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4858]: (performance) Variable 'pdst' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:5589] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:5627]: (performance) Variable 'src' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:6623] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:6635]: (performance) Variable 'src' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:7354] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:7370]: (performance) Variable 'listener' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:7570] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:7591]: (performance) Variable 'listener' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:8325] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:8329]: (performance) Variable 'iret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:8399] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:8403]: (performance) Variable 'iret' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:540]: (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/ws2_32/tests/sock.c:540]: (style) The scope of the variable 'n_recvd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:540]: (style) The scope of the variable 'n_sent' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:674]: (style) The scope of the variable 'n_set' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:2160]: (style) The scope of the variable 'n_recv' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:2160]: (style) The scope of the variable 'n_sent' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:3528]: (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/ws2_32/tests/sock.c:5442]: (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/ws2_32/tests/sock.c:5480]: (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/ws2_32/tests/sock.c:5480]: (style) The scope of the variable 'events' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:5529]: (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/xaudio2_7/tests/xaudio2.c:874]: (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/xaudio2_7/tests/xaudio2.c:982]: (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/xaudio2_7/tests/xaudio2.c:527]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/xaudio2_7/tests/xaudio2.c:798]: (style) Variable 'running_total' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:1354]: (style) union member '_csspace::space' is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:1469]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:1477]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:1481]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:1488]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:2876]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4003]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:6487]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:9795]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:9804]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:9806]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:9820]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:9935]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:9937]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:9944]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:9946]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:9952]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:9954]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:9960]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:9962]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:9973]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:10012]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:10014]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:10021]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:10023]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:10029]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:10031]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:10037]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:10039]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:10050]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/xaudio2_7/xaudio_dll.c:1237] -> [/home/igor/wine-src/wine-2.0-rc5/dlls/xaudio2_7/xaudio_dll.c:1226]: (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/xaudio2_7/xaudio_dll.c:196]: (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/xaudio2_7/xaudio_dll.c:2249]: (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/xaudio2_7/xaudio_dll.c:647]: (style) Variable 'last' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:8307]: (error) Buffer is accessed out of bounds: header_msg
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:8326]: (error) Buffer is accessed out of bounds: header_msg
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:8400]: (error) Buffer is accessed out of bounds: header_msg
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:8309]: (error) Buffer is accessed out of bounds: footer_msg
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:8330]: (error) Buffer is accessed out of bounds: footer_msg
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:8404]: (error) Buffer is accessed out of bounds: footer_msg
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:1109]: (style) Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:1130]: (style) Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:2217]: (portability) Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:2222]: (portability) Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4455]: (style) Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4500]: (style) Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4504]: (style) Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4558]: (style) Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4643]: (style) Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4665]: (style) Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4684]: (style) Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4703]: (style) Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4718]: (style) Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:8591]: (style) Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:1359]: (error) Resource leak: s
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4056]: (error) Resource leak: server_socket
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4304]: (error) Resource leak: sock
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4373]: (error) Resource leak: sock
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:4422]: (error) Resource leak: sock
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:5022]: (error) Resource leak: sock
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:6508]: (error) Resource leak: s
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:7735]: (error) Resource leak: connector
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:7758]: (error) Resource leak: acceptor
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:7758]: (error) Resource leak: connector
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:8442]: (error) Resource leak: sock
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/tests/sock.c:8526]: (error) Resource leak: sock
[/home/igor/wine-src/wine-2.0-rc5/dlls/xmllite/reader.c:691]: (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/xmllite/tests/reader.c:875]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/xmllite/tests/reader.c:877]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/xmllite/tests/reader.c:1466]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/xmllite/tests/writer.c:1112]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/xmllite/tests/writer.c:1123]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/xmllite/tests/writer.c:1127]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/dlls/xmllite/writer.c:775]: (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/ws2_32/socket.c:6437]: (portability) Non reentrant function 'getprotobyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobyname_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/socket.c:7036]: (portability) Non reentrant function 'getservbyport' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyport_r'.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/socket.c:8080]: (style) The scope of the variable 'in6' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/socket.c:6369]: (style) The scope of the variable 'extrabuf' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/dlls/ws2_32/socket.c:6370]: (style) The scope of the variable 'ebufsize' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/libs/port/getopt1.c:109]: (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/libs/port/mbtowc.c:206]: (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/libs/port/getopt.c:1186]: (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/libs/port/spawn.c:39]: (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/libs/port/strncasecmp.c:32]: (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/libs/wine/config.c:185]: (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/libs/wine/config.c:138]: (style) The scope of the variable 'libdir' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/libs/wine/config.c:269]: (portability) Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'.
[/home/igor/wine-src/wine-2.0-rc5/libs/wine/debug.c:98]: (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/libs/wine/ldt.c:219]: (style, inconclusive) Statements following return, break, continue, goto or throw will never be executed.
[/home/igor/wine-src/wine-2.0-rc5/libs/wine/ldt.c:315]: (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/libs/wine/loader.c:326]: (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/libs/wine/loader.c:986]: (style) The scope of the variable 'magic' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/libs/wine/loader.c:736]: (style) Obsolescent function 'pthread_attr_setstackaddr' called. It is recommended to use 'pthread_attr_setstack' instead.
[/home/igor/wine-src/wine-2.0-rc5/libs/wine/mmap.c:560]: (style) The scope of the variable '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/libs/wine/mmap.c:240]: (style, inconclusive) Statements following return, break, continue, goto or throw will never be executed.
[/home/igor/wine-src/wine-2.0-rc5/libs/wine/mmap.c:182]: (error) Return value of allocation function 'mmap' is not stored.
[/home/igor/wine-src/wine-2.0-rc5/libs/wine/mmap.c:337]: (error) Return value of allocation function 'wine_anon_mmap' is not stored.
[/home/igor/wine-src/wine-2.0-rc5/libs/wine/sortkey.c:41]: (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/libs/wine/sortkey.c:98]: (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/libs/wpp/preproc.c:290]: (style) The scope of the variable 'ppp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/libs/wpp/preproc.c:467]: (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/libs/wpp/preproc.c:503]: (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/loader/main.c:229]: (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/libs/wpp/wpp.c:68]: (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/libs/wpp/wpp.c:71]: (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/programs/attrib/attrib.c:54]: (style) The scope of the variable 'output_bufA' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/loader/preloader.c:919]: (style) The scope of the variable 'hi' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/loader/preloader.c:457]: (style) The unsigned variable '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/programs/cabarc/cabarc.c:138]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/programs/cmd/batch.c:157]: (style) The scope of the variable 'begin' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/cmd/batch.c:564]: (style) The scope of the variable 'datelen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/cmd/batch.c:663]: (style) Variable 'addSpace' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/cmd/builtins.c:2175] -> [/home/igor/wine-src/wine-2.0-rc5/programs/cmd/builtins.c:2135]: (warning) Either the condition 'thisArg' is redundant or there is possible null pointer dereference: thisArg.
[/home/igor/wine-src/wine-2.0-rc5/programs/cmd/builtins.c:470] -> [/home/igor/wine-src/wine-2.0-rc5/programs/cmd/builtins.c:473]: (performance) Variable 'file1' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/programs/cmd/builtins.c:1830]: (style) The scope of the variable 'nextnumber2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/cmd/builtins.c:2122]: (style) The scope of the variable 'itemNum' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/cmd/builtins.c:2507]: (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/programs/cmd/builtins.c:2551]: (style) The scope of the variable 'labelend' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/cmd/builtins.c:2558]: (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/programs/cmd/builtins.c:3350]: (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/programs/cmd/builtins.c:4228]: (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/programs/cmd/builtins.c:4286]: (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/programs/cmd/builtins.c:4419]: (style) The scope of the variable 'argno' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/cmd/directory.c:81]: (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/programs/cmd/directory.c:248]: (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/programs/cmd/directory.c:248]: (style) The scope of the variable 'tmp_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/programs/cmd/directory.c:249]: (style) The scope of the variable 'numCols' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/cmd/directory.c:249]: (style) The scope of the variable 'numRows' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/cmd/directory.c:250]: (style) The scope of the variable 'rows' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/cmd/directory.c:250]: (style) The scope of the variable 'cols' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/cmd/directory.c:485]: (style) The scope of the variable 'lastEntry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/cmd/builtins.c:3817]: (style) Variable 'var2' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/cmd/wcmdmain.c] -> [/home/igor/wine-src/wine-2.0-rc5/programs/cmd/wcmdmain.c]: (error) Internal Error. MathLib::toLongNumber: Unhandled char constant '\E'.
[/home/igor/wine-src/wine-2.0-rc5/programs/expand/expand.c:47]: (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/programs/expand/expand.c:96]: (style) The scope of the variable 'outfile_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/programs/explorer/appbar.c:244]: (style) The scope of the variable 'response' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/extrac32/extrac32.c:39]: (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/programs/extrac32/extrac32.c:74]: (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/programs/extrac32/extrac32.c:75]: (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/programs/extrac32/extrac32.c:76]: (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/programs/extrac32/extrac32.c:77]: (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/programs/ipconfig/ipconfig.c:288]: (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/programs/ipconfig/ipconfig.c:134]: (warning) Division by result of sizeof(). memcpy() expects a size in bytes, did you intend to multiply instead?
[/home/igor/wine-src/wine-2.0-rc5/programs/msiexec/msiexec.c:507]: (style) The scope of the variable '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/programs/net/net.c:111]: (style) The scope of the variable 'connection' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/netstat/netstat.c:76]: (style) The scope of the variable 'output_bufA' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/notepad/dialog.c:886]: (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/programs/notepad/dialog.c:886]: (style) The scope of the variable 'dopage' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/notepad/dialog.c:886]: (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/programs/notepad/main.c:456]: (style) The scope of the variable 'fileLen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/oleview/details.c:33]: (style) The scope of the variable 'retEnum' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/oleview/tree.c:80] -> [/home/igor/wine-src/wine-2.0-rc5/programs/oleview/tree.c:83]: (performance) Variable 'hInsertAfter' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/programs/progman/dialog.c:54] -> [/home/igor/wine-src/wine-2.0-rc5/programs/progman/dialog.c:62]: (performance) Variable 'lpstrInitialDir' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/programs/progman/grpfile.c:144]: (style) Variable 'buffer' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/reg.c:587]: (style) The scope of the variable 'reg_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/programs/reg/reg.c:1060]: (error) Uninitialized variable: ret
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:795]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:799]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:802]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:804]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:805]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:808]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:830]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:833]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:836]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:839]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:857]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:860]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:863]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:866]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:869]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:873]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:876]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:881]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:882]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:887]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:888]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:894]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:901]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:906]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:907]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:912]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:913]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:918]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:919]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:927]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:928]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:929]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:930]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:931]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:943]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:946]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:948]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:950]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:952]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:960]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:962]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:971]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:976]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:987]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:988]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:989]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:997]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:998]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:999]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1000]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1002]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1014]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1015]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1016]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1017]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1018]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1028]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1029]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1030]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1031]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1032]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1033]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1034]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1035]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1036]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1052]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1053]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1054]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1055]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1056]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1057]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1058]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1059]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1060]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1061]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1062]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1063]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1065]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1073]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1074]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1082]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1083]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1089]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1090]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1092]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1097]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1099]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1100]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1102]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1104]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1109]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1111]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1112]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1114]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1116]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1119]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1134]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1137]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1140]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1143]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1146]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1157]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1160]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1165]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1166]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1171]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1172]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1178]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1193]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1203]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1215]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1216]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1221]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1222]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1227]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1228]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1236]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1237]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1238]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1239]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1240]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1252]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1255]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1257]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1259]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1261]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1269]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1271]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1280]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1285]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1296]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1297]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1298]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1306]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1307]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1308]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1309]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1311]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1323]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1324]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1325]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1326]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1327]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1337]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1338]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1339]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1340]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1341]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1342]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1343]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1344]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1345]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1361]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1362]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1363]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1364]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1365]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1366]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1367]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1368]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1369]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1370]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1371]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1372]: (style) Variable 'verify_reg_nonexist_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1374]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1382]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1383]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1391]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1392]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1398]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1399]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1401]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1406]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1408]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1409]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1411]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1413]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1418]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1420]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1421]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1423]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1425]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1428]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/reg/tests/reg.c:1431]: (style) Variable 'ok' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/regedit/edit.c:256] -> [/home/igor/wine-src/wine-2.0-rc5/programs/regedit/edit.c:262]: (performance) Variable 'lRet' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/programs/regedit/edit.c:459] -> [/home/igor/wine-src/wine-2.0-rc5/programs/regedit/edit.c:466]: (performance) Variable 'lRet' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/programs/regedit/edit.c:124]: (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/programs/regedit/framewnd.c:505]: (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/programs/regedit/framewnd.c:506]: (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/programs/regedit/framewnd.c:507]: (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/programs/regedit/framewnd.c:508]: (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/programs/regedit/regproc.c:633] -> [/home/igor/wine-src/wine-2.0-rc5/programs/regedit/regproc.c:635]: (warning) Either the condition 'if(first_chars)' is redundant or there is possible null pointer dereference: first_chars.
[/home/igor/wine-src/wine-2.0-rc5/programs/regedit/regproc.c:623]: (style) The scope of the variable 'chars_in_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/programs/regedit/regproc.c:738]: (style) The scope of the variable 'CharsInBuf' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/regedit/tests/regedit.c:384] -> [/home/igor/wine-src/wine-2.0-rc5/programs/regedit/tests/regedit.c:478]: (performance) Variable 'lr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/programs/regedit/tests/regedit.c:395]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/regedit/tests/regedit.c:458]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/regedit/tests/regedit.c:466]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/regedit/tests/regedit.c:474]: (style) Variable 'verify_reg_' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/regedit/treeview.c:55]: (style) The scope of the variable 'maxChars' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/regedit/treeview.c:55]: (style) The scope of the variable 'chars' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/rundll32/rundll32.c:252] -> [/home/igor/wine-src/wine-2.0-rc5/programs/rundll32/rundll32.c:258]: (performance) Variable 'hWnd' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/programs/rundll32/rundll32.c:254] -> [/home/igor/wine-src/wine-2.0-rc5/programs/rundll32/rundll32.c:264]: (performance) Variable 'szDllName' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/programs/taskmgr/applpage.c:414]: (style) The scope of the variable 'pAPLI' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/taskmgr/column.c:491]: (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/programs/taskmgr/graphctl.c:284]: (style) The scope of the variable 'currX' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/taskmgr/graphctl.c:284]: (style) The scope of the variable 'prevX' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/taskmgr/graphctl.c:284]: (style) The scope of the variable 'currY' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/taskmgr/graphctl.c:284]: (style) The scope of the variable 'prevY' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/taskmgr/graphctl.c:287]: (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/programs/taskmgr/graphctl.c:177]: (style) Variable 'nCharacters' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/taskmgr/perfdata.c:88]: (style) The scope of the variable 'pPDOld' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/taskmgr/perfpage.c:73]: (style) The scope of the variable 'sx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/taskmgr/perfpage.c:73]: (style) The scope of the variable 'sy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/wineboot/wineboot.c:684]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses.
[/home/igor/wine-src/wine-2.0-rc5/programs/winecfg/appdefaults.c:211]: (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/programs/winecfg/drivedetect.c:169]: (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/programs/winecfg/drivedetect.c:170]: (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/programs/winecfg/drivedetect.c:51]: (style) struct member 'DEV_NODES::nType' is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/winecfg/driveui.c:199] -> [/home/igor/wine-src/wine-2.0-rc5/programs/winecfg/driveui.c:205]: (performance) Variable 'prevsel' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/programs/winecfg/driveui.c:271]: (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/programs/winecfg/libraries.c:265]: (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/programs/winecfg/winecfg.c:254]: (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/programs/winecfg/winecfg.c:574]: (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/programs/winecfg/winecfg.c:574]: (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/programs/winecfg/theme.c:300]: (style) The scope of the variable 'theme' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winecfg/theme.c:583]: (style) The scope of the variable 'keyNameValueSize' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winecfg/theme.c:984]: (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/programs/winecfg/theme.c:1140]: (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/programs/winedbg/be_arm64.c:263]: (style) Expression is always false because 'else if' condition matches previous condition at line 262.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/be_arm64.c:261]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/be_arm64.c:262]: (portability) Casting between integer* and double* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/be_arm64.c:263]: (portability) Casting between integer* and long double* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/be_i386.c:772]: (style) Expression is always false because 'else if' condition matches previous condition at line 771.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/be_i386.c:770]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/be_i386.c:771]: (portability) Casting between integer* and double* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/be_i386.c:772]: (portability) Casting between integer* and long double* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/be_arm.c:1879]: (style) Expression is always false because 'else if' condition matches previous condition at line 1878.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/be_arm.c:1877]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/be_arm.c:1878]: (portability) Casting between integer* and double* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/be_arm.c:1879]: (portability) Casting between integer* and long double* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/be_x86_64.c:636]: (style) Expression is always false because 'else if' condition matches previous condition at line 635.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/be_x86_64.c:634]: (portability) Casting between integer* and float* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/be_x86_64.c:635]: (portability) Casting between integer* and double* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/be_x86_64.c:636]: (portability) Casting between integer* and long double* which have an incompatible binary data representation.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/break.c:860]: (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/programs/winedbg/db_disasm64.c:1065]: (style) The scope of the variable 'sib' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/db_disasm64.c:1065]: (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/programs/winedbg/db_disasm.c:1074]: (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/programs/winedbg/db_disasm.c:1114]: (style) The scope of the variable 'sib' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/db_disasm.c:1114]: (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/programs/winedbg/db_disasm.c:1252]: (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/programs/winedbg/db_disasm64.c:1068]: (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/programs/winedbg/db_disasm64.c:1085]: (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/programs/winedbg/db_disasm64.c:1086]: (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/programs/winedbg/db_disasm64.c:1173]: (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/programs/winedbg/db_disasm64.c:1217]: (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/programs/winedbg/db_disasm64.c:1221]: (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/programs/winedbg/db_disasm64.c:1225]: (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/programs/winedbg/db_disasm64.c:1228]: (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/programs/winedbg/db_disasm64.c:1234]: (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/programs/winedbg/db_disasm64.c:1376]: (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/programs/winedbg/db_disasm64.c:1380]: (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/programs/winedbg/db_disasm64.c:1386]: (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/programs/winedbg/db_disasm64.c:1485]: (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/programs/winedbg/db_disasm64.c:1489]: (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/programs/winedbg/db_disasm64.c:1493]: (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/programs/winedbg/db_disasm64.c:1497]: (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/programs/winedbg/db_disasm64.c:1537]: (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/programs/winedbg/db_disasm64.c:1541]: (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/programs/winedbg/db_disasm64.c:1545]: (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/programs/winedbg/db_disasm64.c:1584]: (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/programs/winedbg/db_disasm64.c:1630]: (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/programs/winedbg/db_disasm64.c:1633]: (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/programs/winedbg/db_disasm64.c:1636]: (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/programs/winedbg/db_disasm64.c:1639]: (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/programs/winedbg/memory.c:242]: (style) The scope of the variable 'buffW' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/info.c:481]: (style) The scope of the variable 'dpe' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/source.c:169]: (style) The scope of the variable 'nlines' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/symbol.c:284]: (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/programs/winedbg/symbol.c:285]: (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/programs/winedbg/tgt_minidump.c:201]: (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/programs/winedbg/tgt_active.c:862] -> [/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/tgt_active.c:868]: (performance) Variable 'ds' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/tgt_active.c:168]: (style) The scope of the variable 'last_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/programs/winedbg/tgt_active.c:169]: (style) The scope of the variable 'last_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/programs/winedbg/types.c:189]: (style) The scope of the variable 'mask' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/types.c:244]: (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/programs/winedbg/types.c:707]: (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/programs/winedbg/winedbg.c:629]: (style) The scope of the variable 'retv' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/winedbg.c:695]: (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/programs/winedbg/winedbg.c:180]: (style) Variable 'div' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/winedbg/winedbg.c:501]: (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/programs/winefile/winefile.c:341]: (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/programs/winefile/winefile.c:1377]: (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/programs/winefile/winefile.c:1378]: (style) The scope of the variable 'level' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winefile/winefile.c:1527]: (style) The scope of the variable 'new_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/programs/winefile/winefile.c:2391]: (style) The scope of the variable 'cx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winefile/winefile.c:2881]: (style) The scope of the variable 'cx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winefile/winefile.c:3651]: (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/programs/winefile/winefile.c:4309]: (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/programs/winefile/winefile.c:4309]: (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/programs/winemenubuilder/winemenubuilder.c:700] -> [/home/igor/wine-src/wine-2.0-rc5/programs/winemenubuilder/winemenubuilder.c:715]: (performance) Variable 'hFile' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/programs/winemenubuilder/winemenubuilder.c:3545] -> [/home/igor/wine-src/wine-2.0-rc5/programs/winemenubuilder/winemenubuilder.c:3546]: (performance) Variable 't' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/programs/winemenubuilder/winemenubuilder.c:233]: (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/programs/winemenubuilder/winemenubuilder.c:847]: (style) The scope of the variable 'pIconDir' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winemenubuilder/winemenubuilder.c:1412]: (style) The scope of the variable 'windows_fileW' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winemenubuilder/winemenubuilder.c:1949]: (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/programs/winemenubuilder/winemenubuilder.c:1969]: (style) The scope of the variable 'cr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winemenubuilder/winemenubuilder.c:2092]: (style) The scope of the variable 'begin' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winefile/winefile.c:754]: (style) Variable 'flags' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/winefile/winefile.c:1395]: (style) Variable 'hr' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/programs/winemine/main.c:646]: (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/programs/winemine/main.c:646]: (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/programs/winemine/main.c:673]: (style) The scope of the variable 'numFlags' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winemine/main.c:674]: (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/programs/winemine/main.c:674]: (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/programs/winemine/main.c:787]: (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/programs/winemine/main.c:787]: (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/programs/winetest/gui.c:123]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/programs/winetest/gui.c:123]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/programs/winetest/gui.c:151]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/programs/winetest/gui.c:151]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/programs/winetest/main.c:358]: (style) The scope of the variable 'is_elevated' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winetest/main.c:363]: (style) The scope of the variable 'pRtlGetVersion' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winetest/main.c:845]: (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/programs/winetest/main.c:846]: (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/programs/winetest/main.c:1006]: (style) The scope of the variable 'eol' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winetest/main.c:760]: (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/programs/winetest/main.c:768]: (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/programs/winefile/winefile.c:1024]: (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/programs/winefile/winefile.c:1025]: (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/programs/winetest/send.c:92]: (style) The scope of the variable 'sent' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winetest/send.c:57]: (style) Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead.
[/home/igor/wine-src/wine-2.0-rc5/programs/winevdm/winevdm.c:116]: (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/programs/winevdm/winevdm.c:515]: (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/programs/winhlp32/hlpfile.c:1077]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/programs/winhlp32/hlpfile.c:1492]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/programs/winhlp32/hlpfile.c:1492]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/programs/winhlp32/hlpfile.c:1492]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/programs/winhlp32/hlpfile.c:1753]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/programs/winhlp32/hlpfile.c:1771]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/programs/winhlp32/hlpfile.c:78]: (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/programs/winhlp32/hlpfile.c:132]: (style) The scope of the variable 'entries' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winhlp32/hlpfile.c:1855]: (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/programs/winhlp32/hlpfile.c:2470]: (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/programs/winhlp32/hlpfile.c:2471]: (style) The scope of the variable 'newsize' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winhlp32/hlpfile.c:2664]: (style) The scope of the variable '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/programs/winhlp32/macro.c:613]: (style) The scope of the variable 'sz' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winhlp32/hlpfile.c:2135]: (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/programs/winhlp32/hlpfile.c:2136]: (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/programs/winhlp32/hlpfile.c:2137]: (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/programs/winhlp32/hlpfile.c:2138]: (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/programs/winhlp32/hlpfile.c:2139]: (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/programs/winhlp32/hlpfile.c:2140]: (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/programs/winhlp32/hlpfile.c:2141]: (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/programs/winhlp32/hlpfile.c:2142]: (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/programs/winhlp32/winhelp.c:217]: (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/programs/winhlp32/winhelp.c:257]: (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/programs/winhlp32/winhelp.c:906]: (style) The scope of the variable 'wi' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/wordpad/print.c:578]: (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/programs/wordpad/print.c:655]: (style) The scope of the variable 'ratioHeight' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/wordpad/print.c:655]: (style) The scope of the variable 'ratioWidth' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/wscript/host.c:322]: (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/programs/wordpad/wordpad.c:380]: (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/programs/winefile/winefile.c:492]: (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/programs/xcopy/xcopy.c:100]: (style) The scope of the variable 'output_bufA' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/programs/winefile/winefile.c:471]: (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/programs/winefile/winefile.c:514]: (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/server/atom.c:188]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/server/atom.c:198]: (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/server/change.c:217]: (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/server/change.c:420]: (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/server/change.c:250]: (error) Common realloc mistake: 'cache' nulled but not freed upon failure
[/home/igor/wine-src/wine-2.0-rc5/server/change.c:793]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/server/change.c:1049]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/server/change.c:1117]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/server/change.c:1138]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/server/change.c:937]: (style) The scope of the variable 'ie' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/server/clipboard.c:470]: (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/server/clipboard.c:470]: (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/server/directory.c:276]: (style) The scope of the variable 'link_windows' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/server/directory.c:520]: (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/server/fd.c:892]: (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/server/fd.c:892]: (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/server/fd.c:970]: (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/server/file.c:492]: (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/server/file.c:568]: (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/server/file.c:374]: (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/server/fd.c:521]: (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/server/fd.c:521]: (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/server/handle.c:360]: (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/server/handle.c:636]: (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/server/handle.c:709]: (style) The scope of the variable 'owner' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/server/handle.c:709]: (style) The scope of the variable 'group' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/server/handle.c:710]: (style) The scope of the variable 'sacl' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/server/handle.c:710]: (style) The scope of the variable 'dacl' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/server/fd.c:631]: (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/server/hook.c:103]: (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/server/hook.c:175]: (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/server/hook.c:284]: (style) The scope of the variable 'hook' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/server/fd.c:734]: (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/server/mailslot.c:237]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/server/mach.c:101]: (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/server/fd.c:123]: (style) union member 'epoll_data::ptr' is never used.
[/home/igor/wine-src/wine-2.0-rc5/server/fd.c:126]: (style) union member 'epoll_data::u64' is never used.
[/home/igor/wine-src/wine-2.0-rc5/server/fd.c:515]: (error) Uninitialized variable: dummy
[/home/igor/wine-src/wine-2.0-rc5/server/named_pipe.c:756]: (style) The scope of the variable 'fds' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/server/object.c:61]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/server/object.c:68]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/server/object.c:470]: (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/server/procfs.c:58]: (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/server/procfs.c:78]: (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/server/procfs.c:78]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'.
[/home/igor/wine-src/wine-2.0-rc5/server/ptrace.c:360]: (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/server/ptrace.c:461]: (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/server/ptrace.c:142]: (style) The scope of the variable 'pid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/server/ptrace.c:176]: (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/server/queue.c:2174]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/server/queue.c:2174]: (warning) %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/server/queue.c:276]: (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/server/queue.c:1102]: (style) The scope of the variable 'thread' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/server/queue.c:2537]: (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/server/queue.c:2681]: (style) The scope of the variable 'thread' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/server/queue.c:2918]: (style) The scope of the variable 'thread' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/server/region.c:376]: (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/server/region.c:376]: (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/server/registry.c:584]: (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/server/registry.c:641]: (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/server/registry.c:641]: (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/server/registry.c:839]: (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/server/registry.c:1048]: (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/server/registry.c:1048]: (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/server/registry.c:1272]: (style) The scope of the variable 'newlen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/server/registry.c:1412]: (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/server/registry.c:1808]: (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/server/registry.c:2041]: (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/server/registry.c:2077]: (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/server/registry.c:2199]: (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/server/request.c:806]: (style) The scope of the variable 'pid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/server/request.c:806]: (style) The scope of the variable 'sync_pipe' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/server/request.c:713]: (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/server/semaphore.c:125]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/server/semaphore.c:125]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/server/sock.c:276]: (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/server/sock.c:729]: (style) The scope of the variable 'acceptfd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/server/sock.c:786]: (style) The scope of the variable 'acceptfd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/server/request.c:535]: (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/server/thread.c:723]: (style) The scope of the variable 'signaled' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/server/thread.c:890]: (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/server/token.c:613]: (style) struct member 'sid_data::subauth' is never used.
[/home/igor/wine-src/wine-2.0-rc5/server/token.c:334]: (style) Variable 'offset' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/server/trace.c:5444]: (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/server/trace.c:1033]: (style) Variable 'offset' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/server/window.c:1668]: (error) syntax error
[/home/igor/wine-src/wine-2.0-rc5/tools/make_xftmpl.c:358]: (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/tools/make_xftmpl.c:360]: (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/tools/make_xftmpl.c:362]: (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/tools/make_xftmpl.c:366]: (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/tools/make_xftmpl.c:371]: (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/tools/make_xftmpl.c:172]: (error) Common realloc mistake: 'output_data' nulled but not freed upon failure
[/home/igor/wine-src/wine-2.0-rc5/server/winstation.c:502]: (style) The scope of the variable 'desktop' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/makedep.c:315]: (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/tools/makedep.c:416]: (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/tools/makedep.c:416]: (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/tools/makedep.c:436]: (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/tools/makedep.c:436]: (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/tools/makedep.c:988]: (style) The scope of the variable 'quote' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/makedep.c:1082]: (style) The scope of the variable 'quote' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/makedep.c:1658]: (style) The scope of the variable 'token' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/makedep.c:3193]: (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/tools/makedep.c:3252]: (style) The scope of the variable 'file2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/makedep.c:3543]: (style) The scope of the variable 'var' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/makedep.c:911]: (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/tools/makedep.c:914]: (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/tools/makedep.c:918]: (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/tools/makedep.c:950]: (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/tools/makedep.c:1132]: (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/tools/makedep.c:1133]: (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/tools/makedep.c:1134]: (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/tools/makedep.c:1661]: (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/tools/makedep.c:2587]: (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/tools/makedep.c:2588]: (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/tools/makedep.c:2031]: (error) Memory leak: lib
[/home/igor/wine-src/wine-2.0-rc5/tools/sfnt2fon/sfnt2fon.c:468]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/sfnt2fon/sfnt2fon.c:368]: (style) The scope of the variable 'num_sizes' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/widl/client.c:437]: (error) syntax error
[/home/igor/wine-src/wine-2.0-rc5/tools/widl/expr.c:654]: (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/tools/widl/expr.c:698]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/widl/widltypes.h:603]: (style) The scope of the variable 'stmt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/widl/widltypes.h:604]: (style) The scope of the variable 'has_func' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/widl/expr.c:434]: (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/tools/widl/header.c:803]: (error) syntax error
[/home/igor/wine-src/wine-2.0-rc5/tools/widl/proxy.c:443]: (error) syntax error
[/home/igor/wine-src/wine-2.0-rc5/tools/widl/register.c:68]: (error) syntax error
[/home/igor/wine-src/wine-2.0-rc5/tools/widl/server.c:463]: (error) syntax error
[/home/igor/wine-src/wine-2.0-rc5/tools/widl/typegen.c:490]: (error) syntax error
[/home/igor/wine-src/wine-2.0-rc5/tools/widl/typetree.c:72]: (error) syntax error
[/home/igor/wine-src/wine-2.0-rc5/tools/widl/typelib.c:125]: (style) The scope of the variable 'vt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/widl/utils.c:57]: (style) The scope of the variable 'cpy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/widl/utils.c:425]: (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/tools/widl/widl.c:466]: (error) syntax error
[/home/igor/wine-src/wine-2.0-rc5/tools/widl/write_msft.c:1347]: (error) syntax error
[/home/igor/wine-src/wine-2.0-rc5/tools/winebuild/import.c:194]: (style) The scope of the variable 'fullname' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/winebuild/import.c:209]: (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/tools/winebuild/parser.c:845]: (style) The scope of the variable 'token' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/winebuild/parser.c:906]: (style) Variable 'token' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winebuild/parser.c:939]: (style) Variable 'token' is assigned a value that is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winebuild/parser.c:462]: (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/tools/winebuild/parser.c:484]: (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/tools/winebuild/res32.c:286]: (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/tools/winebuild/utils.c:132]: (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/tools/winebuild/utils.c:287]: (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/tools/winebuild/utils.c:311]: (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/tools/winebuild/utils.c:198]: (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/tools/winedump/debug.c:319]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/debug.c:368]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/debug.c:557]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/debug.c:564]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/debug.c:613]: (error) Possible null pointer dereference: x
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/debug.c:249]: (style) The scope of the variable 'sourceLine' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/debug.c:535]: (style) The scope of the variable 'naux' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/debug.c:671]: (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/tools/winedump/debug.c:622]: (style) union member 'Anonymous0::n_name' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winebuild/spec32.c:137]: (error) Array 'odp.u.func.args[32]' accessed at index 9998, which is out of bounds.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/debug.c:710]: (error) Common realloc mistake: 'stabbuff' nulled but not freed upon failure
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/dump.c:271]: (warning) %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/dump.c:164]: (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/tools/winedump/le.c:54]: (style) struct member 'b32_bundle::b32_cnt' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:55]: (style) struct member 'b32_bundle::b32_type' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:60]: (style) struct member 'vxd_descriptor::next' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:61]: (style) struct member 'vxd_descriptor::sdk_version' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:62]: (style) struct member 'vxd_descriptor::device_number' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:63]: (style) struct member 'vxd_descriptor::version_major' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:64]: (style) struct member 'vxd_descriptor::version_minor' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:65]: (style) struct member 'vxd_descriptor::flags' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:66]: (style) struct member 'vxd_descriptor::name' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:67]: (style) struct member 'vxd_descriptor::init_order' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:68]: (style) struct member 'vxd_descriptor::ctrl_ofs' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:69]: (style) struct member 'vxd_descriptor::v86_ctrl_ofs' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:70]: (style) struct member 'vxd_descriptor::pm_ctrl_ofs' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:71]: (style) struct member 'vxd_descriptor::v86_ctrl_csip' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:72]: (style) struct member 'vxd_descriptor::pm_ctrl_csip' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:73]: (style) struct member 'vxd_descriptor::rm_ref_data' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:74]: (style) struct member 'vxd_descriptor::service_table_ofs' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:75]: (style) struct member 'vxd_descriptor::service_table_size' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:76]: (style) struct member 'vxd_descriptor::win32_service_table_ofs' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:77]: (style) struct member 'vxd_descriptor::prev' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:78]: (style) struct member 'vxd_descriptor::size' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:79]: (style) struct member 'vxd_descriptor::reserved0' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:80]: (style) struct member 'vxd_descriptor::reserved1' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/le.c:81]: (style) struct member 'vxd_descriptor::reserved2' is never used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/lnk.c:216]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/lnk.c:312]: (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/tools/winedump/lnk.c:400]: (style) The scope of the variable 'value_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/tools/winedump/lnk.c:401]: (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/tools/winedump/minidump.c:111]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/minidump.c:142]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/minidump.c:233]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/minidump.c:449]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/minidump.c:49]: (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/tools/winedump/minidump.c:168]: (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/tools/winedump/minidump.c:169]: (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/tools/winedump/minidump.c:170]: (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/tools/winedump/minidump.c:171]: (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/tools/winedump/minidump.c:172]: (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/tools/winedump/minidump.c:173]: (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/tools/winedump/minidump.c:417]: (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/tools/winedump/minidump.c:418]: (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/tools/winedump/msmangle.c:535]: (style) The scope of the variable 'sub_expressions' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:592]: (warning) %u in format string (no. 3) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:598]: (warning) %u in format string (no. 3) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:605]: (warning) %u in format string (no. 3) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:636]: (warning) %u in format string (no. 9) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:647]: (warning) %u in format string (no. 9) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:660]: (warning) %u in format string (no. 9) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:670]: (warning) %u in format string (no. 6) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:678]: (warning) %u in format string (no. 6) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:687]: (warning) %u in format string (no. 6) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:990]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:1011]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:1032]: (warning) %u in format string (no. 2) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:1122]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:1280]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:1280]: (warning) %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:1280]: (warning) %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:1280]: (warning) %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:1280]: (warning) %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:1280]: (warning) %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:1296]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:1296]: (warning) %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:1296]: (warning) %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:1296]: (warning) %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:1296]: (warning) %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:1296]: (warning) %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:1296]: (warning) %d in format string (no. 10) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:1296]: (warning) %d in format string (no. 11) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/msc.c:1387]: (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/tools/winedump/msc.c:1390]: (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/tools/winedump/msc.c:1391]: (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/tools/winedump/ne.c:189]: (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/tools/winedump/ne.c:423]: (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/tools/winedump/msmangle.c:502]: (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/tools/winedump/msmangle.c:503]: (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/tools/winedump/msmangle.c:514]: (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/tools/winedump/msmangle.c:515]: (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/tools/winedump/msmangle.c:516]: (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/tools/winedump/msmangle.c:749]: (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/tools/winedump/msmangle.c:750]: (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/tools/winedump/msmangle.c:751]: (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/tools/winedump/msmangle.c:797]: (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/tools/winedump/msmangle.c:798]: (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/tools/winedump/msmangle.c:799]: (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/tools/winedump/output.c:476]: (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/tools/winedump/output.c:501]: (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/tools/winedump/output.c:101]: (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/tools/winedump/output.c:282]: (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/tools/winedump/output.c:476]: (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/tools/winedump/pdb.c:148]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/pdb.c:732]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/pdb.c:767]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/pdb.c:922]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/pdb.c:219] -> [/home/igor/wine-src/wine-2.0-rc5/tools/winedump/pdb.c:218]: (warning) Either the condition 'ret' is redundant or there is possible null pointer dereference: ret.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/pdb.c:351]: (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/tools/winedump/pdb.c:621]: (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/tools/winedump/pdb.c:622]: (style) The scope of the variable 'frame_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/tools/winedump/pdb.c:645]: (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/tools/winedump/pdb.c:676]: (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/tools/winedump/pe.c:1360]: (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/tools/winedump/pe.c:2087]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/pe.c:1482]: (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/tools/winedump/pe.c:1483]: (style) The scope of the variable 'relocs' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/pe.c:1529]: (style) The scope of the variable 'callbacks' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/pe.c:1805]: (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/tools/winedump/pe.c:1807]: (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/tools/winedump/pe.c:1921]: (style) The scope of the variable 'pdw' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/pe.c:2035]: (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/tools/winedump/search.c:42]: (style) The scope of the variable 'grep' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/search.c:197]: (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/tools/winedump/symbol.c:297]: (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/tools/winegcc/utils.c:86]: (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/tools/winegcc/utils.c:159]: (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/tools/winedump/tlb.c:217]: (warning) sprintf format string requires 0 parameters but 1 is given.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/tlb.c:644]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/tlb.c:251]: (style) The scope of the variable 'vartypes' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/tlb.c:630]: (style) The scope of the variable 'vt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/winedump/tlb.c:631]: (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/tools/winedump/tlb.c:784]: (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/tools/winegcc/winegcc.c:349] -> [/home/igor/wine-src/wine-2.0-rc5/tools/winegcc/winegcc.c:359]: (performance) Variable 'sout' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/tools/winegcc/winegcc.c:349] -> [/home/igor/wine-src/wine-2.0-rc5/tools/winegcc/winegcc.c:361]: (performance) Variable 'serr' is reassigned a value before the old one has been used.
[/home/igor/wine-src/wine-2.0-rc5/tools/wmc/lang.c:173]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/wmc/lang.c:173]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/wmc/po.c:531]: (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/tools/wmc/po.c:531]: (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/tools/wmc/po.c:667]: (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/tools/wmc/utils.c:186]: (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/tools/wmc/utils.c:264]: (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/tools/wmc/write.c:266]: (warning) %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/wmc/write.c:268]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/wrc/dumpres.c:236]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/wrc/genres.c:1745]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int'.
[/home/igor/wine-src/wine-2.0-rc5/tools/wrc/genres.c:1636]: (style) The scope of the variable 'restag' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/wrc/po.c:982]: (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/tools/wrc/po.c:982]: (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/tools/wrc/po.c:1232]: (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/tools/wrc/po.c:493]: (style) The scope of the variable 'codepage' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/wrc/po.c:890]: (style) The scope of the variable 'english' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/wrc/readres.c:161]: (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/tools/wrc/readres.c:168]: (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/tools/wrc/readres.c:169]: (style) The scope of the variable 'res_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/tools/wrc/translation.c:613]: (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/tools/wrc/utils.c:196]: (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/tools/wrc/utils.c:296]: (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/tools/wrc/utils.c:55]: (style) The scope of the variable 'cpy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:\012void f(int x)\012{\012    int i = 0;\012    if (x) {\012        // it's safe to move 'int i = 0;' here\012        for (int n = 0; n < 10; ++n) {\012            // it is possible but not safe to move 'int i = 0;' here\012            do_something(&i);\012        }\012    }\012}\012When you see this message it is always safe to reduce the variable scope 1 level.
[/home/igor/wine-src/wine-2.0-rc5/tools/wrc/wrc.c:513]: (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/tools/wrc/wrc.c:514]: (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)''.


More information about the wine-devel mailing list