From: Andre Noll Date: Mon, 22 Jul 2013 23:22:33 +0000 (+0200) Subject: command.c: Avoid declaration after statement. X-Git-Tag: v0.5.1~12^2~2 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=778af7a6c357d7c784e6e32781c06351cdff56a7 command.c: Avoid declaration after statement. Fixes command.c:224:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] --- diff --git a/command.c b/command.c index 33cc4b2f..a50b3844 100644 --- 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 {