mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +03:00
src/Cedar/Command: remove redundant assignment
found by cppcheck [src/Cedar/Command.c:23220] -> [src/Cedar/Command.c:23232]: (style) Variable 'len' is reassigned a value before the old one has been used.
This commit is contained in:
parent
9d4d111555
commit
266f013880
@ -23229,7 +23229,6 @@ void CtEscapeCsv(wchar_t *dst, UINT size, wchar_t *src){
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If there is no character that need to be escaped in the input characters, copy it to the output
|
// If there is no character that need to be escaped in the input characters, copy it to the output
|
||||||
len = UniStrLen(src);
|
|
||||||
for (i=0; i<len; i++)
|
for (i=0; i<len; i++)
|
||||||
{
|
{
|
||||||
tmp[0] = src[i];
|
tmp[0] = src[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user