projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa3e3b9
)
Remove unused variable.
author
Reid Spencer
<rspencer@reidspencer.com>
Fri, 3 Nov 2006 01:58:30 +0000
(
01:58
+0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Fri, 3 Nov 2006 01:58:30 +0000
(
01:58
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31404
91177308
-0d34-0410-b5e6-
96231b3b80d8
runtime/libprofile/CommonProfiling.c
patch
|
blob
|
history
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': ",