[compiler-rt] r306480 - [Profile] Remove redundant call
Xinliang David Li via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 27 15:42:24 PDT 2017
Author: davidxl
Date: Tue Jun 27 15:42:24 2017
New Revision: 306480
URL: http://llvm.org/viewvc/llvm-project?rev=306480&view=rev
Log:
[Profile] Remove redundant call
Modified:
compiler-rt/trunk/lib/profile/InstrProfilingFile.c
Modified: compiler-rt/trunk/lib/profile/InstrProfilingFile.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/InstrProfilingFile.c?rev=306480&r1=306479&r2=306480&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/InstrProfilingFile.c (original)
+++ compiler-rt/trunk/lib/profile/InstrProfilingFile.c Tue Jun 27 15:42:24 2017
@@ -218,7 +218,6 @@ static FILE *openFileForMerging(const ch
fclose(ProfileFile);
return NULL;
}
- fseek(ProfileFile, 0L, SEEK_SET);
return ProfileFile;
}
More information about the llvm-commits
mailing list