From d045b07645aa858dfd6be481fcc17921d924b7b0 Mon Sep 17 00:00:00 2001 From: Robert Dewar Date: Wed, 20 Aug 2008 14:34:46 +0200 Subject: [PATCH] a-ztexio.adb: Minor code reorganization Remove redundant test found working on another issue 2008-08-20 Robert Dewar * a-ztexio.adb: Minor code reorganization Remove redundant test found working on another issue From-SVN: r139282 --- gcc/ada/a-ztexio.adb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ada/a-ztexio.adb b/gcc/ada/a-ztexio.adb index 4bf70405c67..5c97ccd59b6 100644 --- a/gcc/ada/a-ztexio.adb +++ b/gcc/ada/a-ztexio.adb @@ -1552,7 +1552,7 @@ package body Ada.Wide_Wide_Text_IO is if Start = 0 then File.WC_Method := WCEM_Brackets; - elsif Start /= 0 then + else if Stop = Start then for J in WC_Encoding_Letters'Range loop if File.Form (Start) = WC_Encoding_Letters (J) then -- 2.30.2