git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f384309
)
Silence compiler about empty body in 'for'.
author
Maxim Mamontov
<faust.madf@gmail.com>
Fri, 20 Sep 2013 22:24:44 +0000
(
01:24
+0300)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Fri, 20 Sep 2013 22:24:44 +0000
(
01:24
+0300)
stglibs/srvconf.lib/netunit.cpp
patch
|
blob
|
history
diff --git
a/stglibs/srvconf.lib/netunit.cpp
b/stglibs/srvconf.lib/netunit.cpp
index aabb778096ef099b5c774179264ffa0e248fd6c3..f70cf27da5b2aedce6d06e067619aa5cf5faa1fb 100644
(file)
--- a/
stglibs/srvconf.lib/netunit.cpp
+++ b/
stglibs/srvconf.lib/netunit.cpp
@@
-438,7
+438,7
@@
while (true)
bool final = false;
size_t pos = 0;
- for (; pos < ENC_MSG_LEN && buffer[pos] != 0; pos++);
+ for (; pos < ENC_MSG_LEN && buffer[pos] != 0; pos++)
;
if (pos < ENC_MSG_LEN && buffer[pos] == 0)
final = true;