comp.lang.ada
 help / color / mirror / Atom feed
From: GNADE proejct account <michael.erdmann@snafu.de>
Subject: strange warning: "return" statement missing following?
Date: Sun, 21 Jan 2007 10:01:51 +0100
Date: 2007-01-21T10:01:51+01:00	[thread overview]
Message-ID: <pan.2007.01.21.09.01.49.711806@snafu.de> (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?




             reply	other threads:[~2007-01-21  9:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-21  9:01 GNADE proejct account [this message]
2007-01-22  9:06 ` strange warning: "return" statement missing following? 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
replies disabled

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