aboutsummaryrefslogtreecommitdiff
path: root/clang/tools/clang-format/clang-format-diff.py
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2024-08-27 11:04:53 +0200
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2024-08-27 11:07:17 +0200
commitfac484ccc60d148b1893bfae843c6c416a57a870 (patch)
tree7356830cf23e557d0e71c2b5c10a365c84595ee0 /clang/tools/clang-format/clang-format-diff.py
parent0ea0ecd64f54e307670b860b309d2e869c1de3d1 (diff)
downloadllvm-fac484ccc60d148b1893bfae843c6c416a57a870.zip
llvm-fac484ccc60d148b1893bfae843c6c416a57a870.tar.gz
llvm-fac484ccc60d148b1893bfae843c6c416a57a870.tar.bz2
[clang-format-diff.py][NFC] Document _stderr as unused
The stderr in the result tuple is always None and unused in this context. Document it with an underscore.
Diffstat (limited to 'clang/tools/clang-format/clang-format-diff.py')
-rwxr-xr-xclang/tools/clang-format/clang-format-diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/clang-format/clang-format-diff.py b/clang/tools/clang-format/clang-format-diff.py
index 9eec0f3..aebe193 100755
--- a/clang/tools/clang-format/clang-format-diff.py
+++ b/clang/tools/clang-format/clang-format-diff.py
@@ -168,7 +168,7 @@ def main():
'Failed to run "%s" - %s"' % (" ".join(command), e.strerror)
)
- stdout, stderr = p.communicate()
+ stdout, _stderr = p.communicate()
if p.returncode != 0:
return p.returncode