From: Jeremy Allison Date: Tue, 12 May 2009 06:23:17 +0000 (-0700) Subject: Fix warning about unused label with no sendfile. X-Git-Tag: tdb-1.1.5~614 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=ed443034ae5ab468356a2aa411bdde40715042e1;ds=sidebyside Fix warning about unused label with no sendfile. Jeremy. --- diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 418c8ba7884..f1275b1088e 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -3454,10 +3454,11 @@ static void send_file_readX(connection_struct *conn, struct smb_request *req, SMB_PERFCOUNT_END(&req->pcd); return; } -#endif normal_read: +#endif + if ((smb_maxcnt & 0xFF0000) > 0x10000) { uint8 headerbuf[smb_size + 2*12];