From 3056ebeb225bd8ca9ed16d0eb79305b853f0a144 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 3 Nov 2006 01:58:30 +0000 Subject: [PATCH] Remove unused variable. llvm-svn: 31404 --- llvm/runtime/libprofile/CommonProfiling.c | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/runtime/libprofile/CommonProfiling.c b/llvm/runtime/libprofile/CommonProfiling.c index 16bd9bd4c539..f37b018d9ff2 100644 --- a/llvm/runtime/libprofile/CommonProfiling.c +++ b/llvm/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': ", -- GitLab