[BOLT] [NFC] Remove unused variable
authorPaul Kirth <paulkirth@google.com>
Tue, 3 May 2022 00:28:00 +0000 (00:28 +0000)
committerPaul Kirth <paulkirth@google.com>
Tue, 3 May 2022 15:15:56 +0000 (15:15 +0000)
commit625e0e611b405b9c45b6d8a692d7ef17ef04e54f
tree086b535ca1079f59b56317ffc51627b21ab2e091
parent7e02bc5237751118efe36c41b0caf004aeed022f
[BOLT] [NFC] Remove unused variable

This patch fixes a warning from -Wunused-but-set-variable
MismatchedBranches are counted, but are never reported.
Since evaluateProfileData() should already identify and report
these cases, we can safely remove the unused variable.

Reviewed By: rafauler

Differential Revision: https://reviews.llvm.org/D124588
bolt/lib/Profile/DataReader.cpp