summaryrefslogtreecommitdiff
path: root/gcc/ada/i-pacdec.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/i-pacdec.adb')
-rw-r--r--gcc/ada/i-pacdec.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ada/i-pacdec.adb b/gcc/ada/i-pacdec.adb
index 81f805120a5..e49c455635f 100644
--- a/gcc/ada/i-pacdec.adb
+++ b/gcc/ada/i-pacdec.adb
@@ -7,7 +7,7 @@
-- B o d y --
-- (Version for IBM Mainframe Packed Decimal Format) --
-- --
--- $Revision: 1.6 $
+-- $Revision$
-- --
-- Copyright (C) 1992-2001, Free Software Foundation, Inc. --
-- --
@@ -209,6 +209,7 @@ package body Interfaces.Packed_Decimal is
-- Cases where all nibbles are used
else
+ V := 0;
J := 1;
end if;
@@ -294,6 +295,7 @@ package body Interfaces.Packed_Decimal is
else
J := 1;
+ V := 0;
end if;
-- Loop to process bytes containing two digit nibbles