summaryrefslogtreecommitdiff
path: root/crashrep
diff options
context:
space:
mode:
Diffstat (limited to 'crashrep')
-rw-r--r--crashrep/source/win32/soreport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/crashrep/source/win32/soreport.cxx b/crashrep/source/win32/soreport.cxx
index 4a4d2bf07bdc..ee8b7d006a8f 100644
--- a/crashrep/source/win32/soreport.cxx
+++ b/crashrep/source/win32/soreport.cxx
@@ -564,11 +564,11 @@ static string xml_encode( const string &rString )
static size_t fcopy( FILE *fpin, FILE *fpout )
{
- char buffer[1024];
size_t nBytesWritten = 0;
if ( fpin && fpout )
{
+ char buffer[1024];
size_t nBytes;
while ( 0 != (nBytes = fread( buffer, 1, sizeof(buffer), fpin )) )
{