From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 19 May 2006 14:41:22 +0400 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20060519104122.GC26293@basalt.office.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20060519073042.GQ2173@immo.ru> <20060519085527.GA26293@basalt.office.altlinux.org> <20060519091421.GR2173@immo.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LwW0XdcUbUexiWVK" Content-Disposition: inline In-Reply-To: <20060519091421.GR2173@immo.ru> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E 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 10:41:22 -0000 Archived-At: List-Archive: List-Post: --LwW0XdcUbUexiWVK Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 19, 2006 at 01:14:22PM +0400, Alexey I. Froloff wrote: > * Dmitry V. Levin [060519 12:56]: > > > =E1 =C5=D3=D4=D8 =DB=C1=CE=D3=D9 > > =E5=D3=D4=D8. > =F5=D2=C1! =F5=D6=C5 =D7=D9=CC=CF=D6=C5=CE. > > > =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: =EF=CE =CE=C5 =D4=CF=CC=D8=CB=CF =CD=CF=D6=C5=D4, =CF=CE =D5=D6=C5 =DA=C1= =CF=D0=D4=C9=CD=C9=DA=C9=D2=CF=D7=C1=CC. > --- > > > 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: >=20 > > #define EMIT(x) ( (++len < n) && (*bp++ =3D (x)) ) =E4=C1, =D7 git =DC=D4=CF=D4 =CB=CF=C4 =C5=D3=D4=D8, =C9 warning =D7 =D4=CF= =DE=CE=CF=D3=D4=C9 =D4=C1=CB=CF=CA =D6=C5. =F1 =D0=CF=D3=CD=CF=D4=D2=C5=CC =C9 =D2=C5=DB=C9=CC =CE=C5 =D4=D2=CF=C7=C1= =D4=D8. > > 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. =F4=C1=CB =C9 =C5=D3=D4=D8. --=20 ldv --LwW0XdcUbUexiWVK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEbaDSfKvmrJ41Nh4RApdjAKCfFO+B18weVATtZhJbjr3TMap7wgCbBJG8 QfUy1sc2z34HjWiWjun/Q9A= =9pwg -----END PGP SIGNATURE----- --LwW0XdcUbUexiWVK--