aboutsummaryrefslogtreecommitdiffstats
path: root/util/system
diff options
context:
space:
mode:
authorbulatman <bulatman@yandex-team.com>2023-08-02 10:15:08 +0300
committerbulatman <bulatman@yandex-team.com>2023-08-02 10:15:08 +0300
commitf3f107ba8959babdcd096d7d599efca438fd1f97 (patch)
treeb3fc25e636f68b8eb363588d546dddfc85604dba /util/system
parent0b51f759add67b66ecbc8a585b99f19b5856f56e (diff)
downloadydb-f3f107ba8959babdcd096d7d599efca438fd1f97.tar.gz
Remove extra semicolon
Diffstat (limited to 'util/system')
-rw-r--r--util/system/mktemp_system.cpp5
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;