From: Pascal Obry <pascal@obry.net>
To: David Emery <demery@cox.net>
Subject: Re: of possible interest
Date: Fri, 12 May 2006 17:45:42 +0200
Date: 2006-05-12T17:45:44+02:00 [thread overview]
Message-ID: <4464ADA6.8000200@obry.net> (raw)
In-Reply-To: <wRO8g.9628$B42.4085@dukeread05>
David Emery a �crit :
> A good compiler should issue a warning in the following situation:
>
> declare
> return_value : error_status_codes;
> begin
> return_value := some_function (parameters);
> do_more_computations (parameters);
> end;
> noting that "return_value" is never used. That's usually a hint of a
> problem.
GNAT does that.
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
prev parent reply other threads:[~2006-05-12 15:45 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-04 19:05 of possible interest Marco
2006-05-04 19:26 ` Ludovic Brenta
2006-05-04 23:30 ` Georg Bauhaus
2006-05-05 2:49 ` Ed Falis
2006-05-05 14:40 ` Ludovic Brenta
2006-05-07 7:46 ` Nasser Abbasi
2006-05-07 11:50 ` Larry Kilgallen
2006-05-07 12:54 ` Ludovic Brenta
[not found] ` <0gcs52lejunc5qar09mf2mng2kg8kumedk@4ax.com>
2006-05-07 20:37 ` Frederic Praca
2006-05-07 22:25 ` Georg Bauhaus
2006-05-08 7:26 ` Ludovic Brenta
2006-05-09 0:41 ` Robert A Duff
2006-05-11 22:25 ` David Emery
2006-05-12 15:45 ` Pascal Obry [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox