bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 09/28] ddb/db_aout.c (aout_db_is_filename): remove unnecessar


From: Marin Ramesa
Subject: Re: [PATCH 09/28] ddb/db_aout.c (aout_db_is_filename): remove unnecessary check
Date: Sun, 08 Dec 2013 17:42:41 +0100

On 08.12.2013 16:49:36, Samuel Thibault wrote:
> Marin Ramesa, le Sun 08 Dec 2013 12:40:11 +0100, a écrit :
> > First loop iteration ensures that the value is non-zero. Second 
> loop iteration likewise. Therefore name[1] is always non-zero if the 
> loop is executed.
> 
> Uh?  It seems wrong to me.  Please show a precise variable evolution
> shart.

You're correct. It can return early in the first iteration. My mistake.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]