[all-commits] [llvm/llvm-project] 981fa1: Fix unused variable warnings:

kazutakahirata via All-commits all-commits at lists.llvm.org
Mon Sep 19 10:43:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 981fa1c15cdd95669ac48b5c9caa87c1e024bbf9
      https://github.com/llvm/llvm-project/commit/981fa1c15cdd95669ac48b5c9caa87c1e024bbf9
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-09-19 (Mon, 19 Sep 2022)

  Changed paths:
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M mlir/lib/Dialect/Transform/IR/TransformInterfaces.cpp

  Log Message:
  -----------
  Fix unused variable warnings:

This patch fixes warnings during a release build:

  mlir/lib/Dialect/Transform/IR/TransformInterfaces.cpp:198:52: error:
  lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]

  bolt/lib/Rewrite/RewriteInstance.cpp:5318:18: error: unused variable
  'HasNoAddress' [-Werror,-Wunused-variable]




More information about the All-commits mailing list