projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add a new code
[oota-llvm.git]
/
runtime
/
libprofile
/
CommonProfiling.c
diff --git
a/runtime/libprofile/CommonProfiling.c
b/runtime/libprofile/CommonProfiling.c
index 16bd9bd4c53928befec0472b3319a0433c22a0cc..f37b018d9ff270d308715d7c4a313d41fd9aa570 100644
(file)
--- a/
runtime/libprofile/CommonProfiling.c
+++ b/
runtime/libprofile/CommonProfiling.c
@@
-88,7
+88,6
@@
void write_profiling_data(enum ProfilingType PT, unsigned *Start,
* appending, creating it if it does not already exist.
*/
if (OutFile == -1) {
- off_t Offset;
OutFile = open(OutputFilename, O_CREAT | O_WRONLY | O_APPEND, 0666);
if (OutFile == -1) {
fprintf(stderr, "LLVM profiling runtime: while opening '%s': ",