Fabian Homborg 31d6abb177 Don't fire variable set event before entering a for-loop
Since #4376, for-loops would set the loop variable outside, so it
stays valid.

They did this by doing the equivalent of

```fish
set -l foo $foo
for foo in 1 2 3
```

And that first imaginary `set -l` would also fire a set-event.

Since there's no use for it and the variable isn't actually set, we
remove it.

Fixes #8384.
2021-10-28 16:32:58 +02:00
..
2020-02-08 13:30:48 +01:00
2021-02-16 16:45:59 +01:00
2019-06-26 21:19:40 +02:00
2020-01-19 15:07:06 +01:00
2021-02-15 17:08:26 +01:00
2021-06-23 21:30:10 +02:00
2020-12-29 12:48:11 +01:00
2021-08-29 20:22:16 +02:00
2021-07-26 18:40:50 +02:00
2020-02-17 11:39:53 +01:00
2021-06-24 18:17:10 +02:00
2021-09-23 17:12:37 +02:00
2021-07-21 22:33:39 +02:00
2019-07-09 10:02:50 -07:00
2021-06-24 18:17:10 +02:00
2021-06-24 20:46:03 +02:00
2021-10-26 18:30:43 +02:00
2021-03-02 14:53:02 +01:00
2020-03-16 21:21:10 +01:00
2021-06-24 18:17:10 +02:00