public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4164] [Ada] Minor code clean-up
@ 2021-10-05 8:23 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-10-05 8:23 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:b2b2fe2d679dec37e30b86c73fefa9d7e920f4ca
commit r12-4164-gb2b2fe2d679dec37e30b86c73fefa9d7e920f4ca
Author: Pascal Obry <obry@adacore.com>
Date: Thu Sep 16 16:23:07 2021 +0200
[Ada] Minor code clean-up
gcc/ada/
* libgnat/g-forstr.adb (Get_Formatted): Minor code clean-up.
Diff:
---
gcc/ada/libgnat/g-forstr.adb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ada/libgnat/g-forstr.adb b/gcc/ada/libgnat/g-forstr.adb
index 64c4cb608ae..71d17f12b73 100644
--- a/gcc/ada/libgnat/g-forstr.adb
+++ b/gcc/ada/libgnat/g-forstr.adb
@@ -420,7 +420,7 @@ package body GNAT.Formatted_String is
-- Zero padding if required and possible
- if F_Spec.Left_Justify = False
+ if not F_Spec.Left_Justify
and then F_Spec.Zero_Pad
and then F_Spec.Width > Len + Value'First - S
then
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-05 8:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-05 8:23 [gcc r12-4164] [Ada] Minor code clean-up Pierre-Marie de Rodat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).