summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2018-04-05 00:39:05 +0900
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-06 06:35:02 +0200
commit786a1c8ef1d182e63a7ae8cfd526ae101bad232b (patch)
tree291867a65d2342f0d73316377a7b14c758463b91 /sal
parent8d6e498a11024ca3cf70864250a757e0d5a7b166 (diff)
fflush() followed by fclose() is redundant
Change-Id: Iacb9332635cb6afa90ec1a72e96388b3b5b7b56c Reviewed-on: https://gerrit.libreoffice.org/52420 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/backtrace.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sal/osl/unx/backtrace.c b/sal/osl/unx/backtrace.c
index f70031d0b4a9..a3aeb3dae3f8 100644
--- a/sal/osl/unx/backtrace.c
+++ b/sal/osl/unx/backtrace.c
@@ -129,7 +129,6 @@ void backtrace_symbols_fd( void **buffer, int size, int fd )
fprintf( fp, "[%p]\n", *pFramePtr );
}
- fflush( fp );
fclose( fp );
}
}
@@ -209,7 +208,6 @@ void backtrace_symbols_fd( void **buffer, int size, int fd )
}
fprintf( fp, "[%p]\n", *pFramePtr );
}
- fflush( fp );
fclose( fp );
}
}
@@ -277,7 +275,6 @@ void backtrace_symbols_fd( void **buffer, int size, int fd )
fprintf( fp, "[%p]\n", *pFramePtr );
}
- fflush( fp );
fclose( fp );
}
}