Skip to content

Commit 9f070e4

Browse files
committed
btrfs-progs: docs: remove unused variable in sphinx config script
CodeQL reports and unused variable 'env', it's not used in the manref formatter, probably a copy&paste leftover. [ci skip] Signed-off-by: David Sterba <dsterba@suse.com>
1 parent b5817da commit 9f070e4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Documentation/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ def run(self):
159159
# - format is strict
160160
# - html link target is not validated
161161
def role_manref(name, rawtext, text, lineno, inliner, options={}, content=[]):
162-
env = inliner.document.settings.env
163162
name, number = text.split('(', 1)
164163
number = number.split(')')[0]
165164

0 commit comments

Comments
 (0)