summaryrefslogtreecommitdiffstats
path: root/llvm/runtime/libprofile/CommonProfiling.c
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
commit3056ebeb225bd8ca9ed16d0eb79305b853f0a144 (patch)
tree820fda55da3de6d144aafcad0c89dbc70f6a0109 /llvm/runtime/libprofile/CommonProfiling.c
parent03c603822605f3101f3a3c4ca9afa5eb6e1c3d05 (diff)
downloadbcm5719-llvm-3056ebeb225bd8ca9ed16d0eb79305b853f0a144.tar.gz
bcm5719-llvm-3056ebeb225bd8ca9ed16d0eb79305b853f0a144.zip
Remove unused variable.
llvm-svn: 31404
Diffstat (limited to 'llvm/runtime/libprofile/CommonProfiling.c')
-rw-r--r--llvm/runtime/libprofile/CommonProfiling.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/runtime/libprofile/CommonProfiling.c b/llvm/runtime/libprofile/CommonProfiling.c
index 16bd9bd4c53..f37b018d9ff 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': ",
OpenPOWER on IntegriCloud