diff --git a/lib/ProfileData/InstrProfWriter.cpp b/lib/ProfileData/InstrProfWriter.cpp index 19b6890b36b..83d03d6a287 100644 --- a/lib/ProfileData/InstrProfWriter.cpp +++ b/lib/ProfileData/InstrProfWriter.cpp @@ -75,7 +75,7 @@ error_code InstrProfWriter::addFunctionCounts(StringRef FunctionName, auto &Data = FunctionData[FunctionName]; Data.Hash = FunctionHash; Data.Counts = Counters; - return instrprof_error::success;; + return instrprof_error::success; } auto &Data = Where->getValue();