diff options
| author | Eli Schwartz <eschwartz93@gmail.com> | 2024-05-16 19:36:32 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-05-19 15:49:45 -0400 |
| commit | 125d3344ec3361b2fb6d35c6c75c3f6d4f500556 (patch) | |
| tree | 0366eedaaf60853d6d6d48db8c940c3de8dba21d /mesonbuild/compilers/objcpp.py | |
| parent | e343590e7d59b4bfd6bc4913ac20ac9c46e702a4 (diff) | |
| download | meson-125d3344ec3361b2fb6d35c6c75c3f6d4f500556.tar.gz | |
pylint: fix false positive for variable defined in different copies of conditional
We do:
```
if is_thing:
assignme = value
if_is_thing:
...
else:
assignme = []
```
It is always defined on both sides, but there was no particular reason
we had to assign it in the later copy. pylint reported it as a false
positive, and it may prove confusing in general, and it's harmless to
move, so do so.
Diffstat (limited to 'mesonbuild/compilers/objcpp.py')
0 files changed, 0 insertions, 0 deletions
