aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/synth/synth-environment.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/synth/synth-environment.adb b/src/synth/synth-environment.adb
index db76e286a..97ca0f36a 100644
--- a/src/synth/synth-environment.adb
+++ b/src/synth/synth-environment.adb
@@ -1299,9 +1299,9 @@ package body Synth.Environment is
if not Is_Equal (Res, Prev_Val) then
-- The previous value is different from the result.
return Null_Memtyp;
- else
- Res := Prev_Val;
end if;
+ else
+ Res := Prev_Val;
end if;
end if;
when True =>