comp.lang.ada
 help / color / mirror / Atom feed
From: Egil H H <ehh.public@gmail.com>
Subject: Re: Unreferenced parameters
Date: Wed, 3 Feb 2021 10:53:09 -0800 (PST)	[thread overview]
Message-ID: <23427583-e608-4134-ba8c-edfa106571ddn@googlegroups.com> (raw)
In-Reply-To: <1361832d-7b30-4d55-b464-e046389f5380n@googlegroups.com>

On Wednesday, February 3, 2021 at 7:50:59 PM UTC+1, Egil H H wrote:
> On Wednesday, February 3, 2021 at 7:20:12 PM UTC+1, Simon Wright wrote: 
> > In gps-editors.ads:1492, in GNAT Studio, I have 
> > 
> > overriding function Expand_Tabs 
> > (This : Dummy_Editor_Buffer; 
> > Line : Editable_Line_Type; 
> > Column : Character_Offset_Type) return Visible_Column_Type is (0); 
> > 
> >
> > But is there a way of using aspect or pragma Unreferenced? Putting 
> > pragma Unreferenced after the function definition doesn't work.
> pragma Unreferenced usually goes in the body: 
> 
> procedure Foo(Bar : Integer) is 
> pragma Unreferenced(Bar); 
> begin 
> null; 
> end Foo;

oh!
Sorry, I must have missed that you're asking about an expression function...

  reply	other threads:[~2021-02-03 18:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-03 18:20 Unreferenced parameters Simon Wright
2021-02-03 18:50 ` Egil H H
2021-02-03 18:53   ` Egil H H [this message]
2021-02-03 19:29     ` Dmitry A. Kazakov
2021-02-04 10:48       ` Simon Wright
2021-02-03 19:32     ` Simon Wright
2021-02-03 22:27       ` Shark8
2021-02-04  3:12 ` Randy Brukardt
2021-02-04 10:27   ` Simon Wright
2021-02-09 11:16     ` Egil H H
2021-02-09 18:54       ` Stephen Leake
2021-02-09 21:20         ` Simon Wright
2021-02-11  3:20         ` Randy Brukardt
2021-02-11 20:18           ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox