From: Reid Spencer Date: Fri, 3 Nov 2006 01:58:30 +0000 (+0000) Subject: Remove unused variable. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=162e20934b314f8e1e80004dc8d64723e0bfb4cf;p=oota-llvm.git Remove unused variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31404 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/runtime/libprofile/CommonProfiling.c b/runtime/libprofile/CommonProfiling.c index 16bd9bd4c53..f37b018d9ff 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': ",