]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Always check old==new, even for missing array size.
authorWayne Davison <wayne@opencoder.net>
Thu, 14 Nov 2024 19:53:40 +0000 (11:53 -0800)
committerWayne Davison <wayne@opencoder.net>
Thu, 14 Nov 2024 19:53:40 +0000 (11:53 -0800)
packaging/var-checker

index 2b9cc8e503098310aaecda8c0026e5453961918a..1573895c0511256014106c1c8ce94654038764b6 100755 (executable)
@@ -98,8 +98,6 @@ def parse_vars(fn, lines):
                 label = chk.pop(0)
                 new = chk.pop(0)
                 lst = chk.pop(0)
-                if not new:
-                    continue
                 if label == 'type':
                     new = ' '.join(new.split()).replace(' *', '*')
                 if m['var'] in lst: