[all-commits] [llvm/llvm-project] 1211c4: [FileCheck] Fix initialized but never used static ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Feb 10 13:04:05 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1211c41805f040f33ae5117aa6eb596aef7141e7
      https://github.com/llvm/llvm-project/commit/1211c41805f040f33ae5117aa6eb596aef7141e7
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-02-10 (Thu, 10 Feb 2022)

  Changed paths:
    M llvm/utils/FileCheck/FileCheck.cpp

  Log Message:
  -----------
  [FileCheck] Fix initialized but never used static analyzer warning. NFC.

Remove superfluous variable initialization, the variable is assigned by both paths immediately afterward.




More information about the All-commits mailing list