comp.lang.ada
 help / color / mirror / Atom feed
* strange warning: "return" statement missing following?
@ 2007-01-21  9:01 GNADE proejct account
  2007-01-22  9:06 ` Stuart
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: GNADE proejct account @ 2007-01-21  9:01 UTC (permalink / raw)


Dear all,

when i am compiling my code, i get the following error:

cache.adb:82:04: warning: in instantiation at
util-dynamic_hashtable.adb:310 cache.adb:82:04: warning: "return"
statement missing following this statement cache.adb:82:04: warning:
Program_Error may be raised at run time

the offending lines in util-dynamic_hash.adb are:

   function Get_Root(                                 <--- Line 310
      This : in Object ) return Key_List_Access is Data :
      Object_Data_Access renames This.Data; I    : Iterator_Type ;
   begin
      I.Reset( Get( Data.Root ) );

      return I.First;
   end Get_Root ;

I have no idea what the compiler is complaining about! Any Idea?




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-01-26 19:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-21  9:01 strange warning: "return" statement missing following? GNADE proejct account
2007-01-22  9:06 ` Stuart
2007-01-23  7:12 ` Stephen Leake
2007-01-23 16:57   ` Adam Beneschan
2007-01-26 16:14   ` GNADE proejct account
2007-01-26 19:53 ` Georg Bauhaus

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