]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] Minor code clean-up
authorPascal Obry <obry@adacore.com>
Thu, 16 Sep 2021 14:23:07 +0000 (16:23 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 5 Oct 2021 08:20:04 +0000 (08:20 +0000)
gcc/ada/

* libgnat/g-forstr.adb (Get_Formatted): Minor code clean-up.

gcc/ada/libgnat/g-forstr.adb

index 64c4cb608ae7685886dd4969427194897e2890ed..71d17f12b73f232411f5552f581105d49209bffb 100644 (file)
@@ -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