Skip to content

Commit

Permalink
[NFC][MLGO] 'Use' variable used for asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrofin committed Aug 11, 2021
1 parent c874dd5 commit 510402c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/Analysis/TFUtils.cpp
Expand Up @@ -309,6 +309,7 @@ class LoggerDataImpl {
// flush the logged info to a stream and clear the log contents.
void flush(raw_ostream &OS) {
size_t NrRecords = getNrRecords();
(void)NrRecords;
tensorflow::SequenceExample SE;
transferLog(SE);
assert(isSelfConsistent(SE, NrRecords));
Expand Down

0 comments on commit 510402c

Please sign in to comment.