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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c3f4071dbfa958f X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!u26g2000yqu.googlegroups.com!not-for-mail From: Phil Thornley Newsgroups: comp.lang.ada Subject: Re: Question about SPARK flow error. Date: Sat, 19 Jun 2010 12:29:12 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <4c1cf6a3$0$30803$4d3efbfe@news.sover.net> <884fp3Ft1U1@mid.individual.net> NNTP-Posting-Host: 80.177.171.182 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1276975752 14523 127.0.0.1 (19 Jun 2010 19:29:12 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 19 Jun 2010 19:29:12 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: u26g2000yqu.googlegroups.com; posting-host=80.177.171.182; posting-account=Fz1-yAoAAACc1SDCr-Py2qBj8xQ-qC2q User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:12795 Date: 2010-06-19T12:29:12-07:00 List-Id: On 19 June, 19:14, "Gavino" wrote: [...] > You could shut the Examiner up by initialising Index (eg to > Index_type'First), but it doesn't seem a satisfactory solution. The problem with this solution (which Peter Amey always referred to as a 'junk initialisation' - an excellent name) is that it can hide a genuine data flow error if there really is a path that does not give Index a value. Cheers, Phil