From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5c4073b66dd0e720,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: GNADE proejct account Newsgroups: comp.lang.ada Subject: strange warning: "return" statement missing following? Date: Sun, 21 Jan 2007 10:01:51 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de 6DRW13lhA0n69DHaeLZMaQw5KFaVhB+Tvu08Mo6/xr03V35kTw/dFB X-Orig-Path: hal.boavista.snafu.de!news User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Xref: g2news2.google.com comp.lang.ada:8379 Date: 2007-01-21T10:01:51+01:00 List-Id: 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?