diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-15 09:34:36 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-15 09:34:36 +0000 |
commit | 0fab56f28d541967e82df4879a635a74fc942979 (patch) | |
tree | 71ce7a8c7f11888da70d2c0ed33d5b8c5d758e4d /gcc/ada/sem_case.adb | |
parent | a58fd09712d0254f960331d84da75fad098b2561 (diff) | |
download | gcc-0fab56f28d541967e82df4879a635a74fc942979.tar.gz |
2006-02-13 Robert Dewar <dewar@adacore.com>
* rtsfind.adb, exp_prag.adb, lib-writ.adb, par-labl.adb,
sem_case.adb: Minor code reorganization (not Present should be No)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111042 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_case.adb')
-rw-r--r-- | gcc/ada/sem_case.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/sem_case.adb b/gcc/ada/sem_case.adb index 25a2f704a15..b6523dab212 100644 --- a/gcc/ada/sem_case.adb +++ b/gcc/ada/sem_case.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1996-2005, Free Software Foundation, Inc. -- +-- Copyright (C) 1996-2006, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -904,7 +904,7 @@ package body Sem_Case is Count : Nat := 0; begin - if not Present (Get_Alternatives (N)) then + if No (Get_Alternatives (N)) then return 0; end if; |