projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61c9575
)
command.c: Avoid declaration after statement.
author
Andre Noll
<maan@systemlinux.org>
Mon, 22 Jul 2013 23:22:33 +0000
(
01:22
+0200)
committer
Andre Noll
<maan@systemlinux.org>
Wed, 4 Sep 2013 22:23:13 +0000
(22:23 +0000)
Fixes
command.c:224:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
command.c
patch
|
blob
|
history
diff --git
a/command.c
b/command.c
index
33cc4b2
..
a50b384
100644
(file)
--- a/
command.c
+++ b/
command.c
@@
-220,8
+220,8
@@
int send_sb(struct stream_cipher_context *scc, void *buf, size_t numbytes,
int ret;
struct sb_context *sbc;
struct iovec iov[2];
- struct sb_buffer sbb = SBB_INIT(band, buf, numbytes);
sb_transformation trafo = band < SBD_PROCEED? NULL : sc_trafo;
+ struct sb_buffer sbb = SBB_INIT(band, buf, numbytes);
sbc = sb_new_send(&sbb, dont_free, trafo, scc->send);
do {