diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-11-03 01:58:30 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-11-03 01:58:30 +0000 |
commit | 162e20934b314f8e1e80004dc8d64723e0bfb4cf (patch) | |
tree | b629fa9232d96de29c8f2e282a4ac34830f3ba5c /runtime/libprofile/CommonProfiling.c | |
parent | fa3e3b9427a643dae2a54f5b2869eb09ad705831 (diff) | |
download | llvm-162e20934b314f8e1e80004dc8d64723e0bfb4cf.tar.gz |
Remove unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime/libprofile/CommonProfiling.c')
-rw-r--r-- | runtime/libprofile/CommonProfiling.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/libprofile/CommonProfiling.c b/runtime/libprofile/CommonProfiling.c index 16bd9bd4c539..f37b018d9ff2 100644 --- 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': ", |