From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 19 May 2006 13:14:22 +0400 From: "Alexey I. Froloff" To: ALT Devel discussion list Message-ID: <20060519091421.GR2173@immo.ru> References: <20060519073042.GQ2173@immo.ru> <20060519085527.GA26293@basalt.office.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mjrw6G9AoRBv8oQK" Content-Disposition: inline In-Reply-To: <20060519085527.GA26293@basalt.office.altlinux.org> User-Agent: Mutt/1.5.11 X-Virus-Scanned: amavisd-new at immo.ru Subject: Re: [devel] Fwd: [bugzilla-daemon@: [Bug 9587] ctermid segfault] X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 09:14:22 -0000 Archived-At: List-Archive: List-Post: --mjrw6G9AoRBv8oQK Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Dmitry V. Levin [060519 12:56]: > > =E1 =C5=D3=D4=D8 =DB=C1=CE=D3=D9 > =E5=D3=D4=D8. =F5=D2=C1! > > =D5=D7=C9=C4=C5=D4=D8 =DC=D4=CF =D7 =D3=C9=DA=C9=C6=C5 =D3=C5=C7=CF=C4= =CE=D1, =DE=C1=D3=C9=CB=CF=D7 =D4=C1=CB =C4=CF 17-18-=C9? > =EB=CC=A3=D7=C1=D1 =D5 =CE=CF=D7=CF=C7=CF =CB=CF=CD=D0=C9=CC=D1=D4=CF=D2= =C1 =CF=D0=D4=C9=CD=C9=DA=C1=C3=C9=D1, =D0=D2=C1=D7=C4=C1? =E1 =CF=CE =CD=CF=D6=C5=D4 =D7 =D0=D2=C9=CE=C3=C9=D0=C5 =DA=C1=CF=D0=D4=C9= =CD=C9=DA=C9=D4=D8 =D4=C1=CB=CF=C5: --- > > tig.c:190: warning: value computed is not used > > tig.c:193: warning: value computed is not used > I am curious, I copied it from the git project's quote.c file: > #define EMIT(x) ( (++len < n) && (*bp++ =3D (x)) ) > does the side-effects hide the warning or does it also apply to > the EMIT macro? Well, warnings are evil. They can become an error in next compiler version. I'm not quite sure, but modern code-optimizers can throw away this "unused" code. --- --=20 Regards, Alexey I. Froloff AIF5-RIPN, AIF5-RIPE ------------------------------------------- Inform-Mobil, Ltd. System Administrator http://www.inform-mobil.ru/ --mjrw6G9AoRBv8oQK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEbYxtVqT7+fkT8woRApY8AJwOngU9iBe31bxK0hzjaSzZFNL3iACgnG+r va75GZDHRczFoCVasRkkGqg= =yGzj -----END PGP SIGNATURE----- --mjrw6G9AoRBv8oQK--