1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-19 10:10:40 +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:
Ilya Shipitsin 2019-01-06 18:49:56 +05:00
parent 9d4d111555
commit 266f013880

View File

@ -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
len = UniStrLen(src);
for (i=0; i<len; i++)
{
tmp[0] = src[i];