Remove unused variable.
authorReid Spencer <rspencer@reidspencer.com>
Fri, 3 Nov 2006 01:58:30 +0000 (01:58 +0000)
committerReid 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

index 16bd9bd4c53928befec0472b3319a0433c22a0cc..f37b018d9ff270d308715d7c4a313d41fd9aa570 100644 (file)
@@ -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': ",