summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-11-03 01:58:30 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-11-03 01:58:30 +0000
commit162e20934b314f8e1e80004dc8d64723e0bfb4cf (patch)
treeb629fa9232d96de29c8f2e282a4ac34830f3ba5c /runtime
parentfa3e3b9427a643dae2a54f5b2869eb09ad705831 (diff)
downloadllvm-162e20934b314f8e1e80004dc8d64723e0bfb4cf.tar.gz
llvm-162e20934b314f8e1e80004dc8d64723e0bfb4cf.tar.bz2
llvm-162e20934b314f8e1e80004dc8d64723e0bfb4cf.tar.xz
Remove unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime')
-rw-r--r--runtime/libprofile/CommonProfiling.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/libprofile/CommonProfiling.c b/runtime/libprofile/CommonProfiling.c
index 16bd9bd4c5..f37b018d9f 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': ",