diff options
author | bulatman <bulatman@yandex-team.com> | 2023-08-02 10:15:08 +0300 |
---|---|---|
committer | bulatman <bulatman@yandex-team.com> | 2023-08-02 10:15:08 +0300 |
commit | f3f107ba8959babdcd096d7d599efca438fd1f97 (patch) | |
tree | b3fc25e636f68b8eb363588d546dddfc85604dba /util/system | |
parent | 0b51f759add67b66ecbc8a585b99f19b5856f56e (diff) | |
download | ydb-f3f107ba8959babdcd096d7d599efca438fd1f97.tar.gz |
Remove extra semicolon
Diffstat (limited to 'util/system')
-rw-r--r-- | util/system/mktemp_system.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/util/system/mktemp_system.cpp b/util/system/mktemp_system.cpp index 4ee3bab799..601fc67500 100644 --- a/util/system/mktemp_system.cpp +++ b/util/system/mktemp_system.cpp @@ -64,8 +64,9 @@ GetTemp(char* path, int* doopen, int domkdir, int slen) return (0); } - for (trv = path; *trv != '\0'; ++trv) { - ; + trv = path; + while (*trv != 0) { + ++trv; } trv -= slen; suffp = trv; |