Skip to content
Commit 5dbe3bf4 authored by Felix Berger's avatar Felix Berger
Browse files

[clang-tidy] performance-unnecessary-copy-initialization: Remove the complete...

[clang-tidy] performance-unnecessary-copy-initialization: Remove the complete statement when the copied variable is unused.

It is not useful to keep the statement around and can lead to compiler
warnings when -Wall (-Wunused-variable specifically) turned on.

Differential Revision: https://reviews.llvm.org/D102175

Reviewed-by: ymandel
parent 68d0db0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment