diff options
Diffstat (limited to 'crashrep/source/win32')
-rw-r--r-- | crashrep/source/win32/base64.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crashrep/source/win32/base64.cpp b/crashrep/source/win32/base64.cpp index 82d54fb4e16d..bd59350a7f43 100644 --- a/crashrep/source/win32/base64.cpp +++ b/crashrep/source/win32/base64.cpp @@ -34,7 +34,6 @@ static const char base64_tab[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrst extern "C" size_t base64_encode( FILE *fin, FILE *fout ) { - size_t nBytesRead = 0; size_t nLineLength = 0; size_t nBytesWritten = 0; @@ -46,7 +45,6 @@ extern "C" size_t base64_encode( FILE *fin, FILE *fout ) memset( in_buffer, 0, sizeof(in_buffer) ); nBytes = fread( in_buffer, 1, sizeof(in_buffer), fin ); - nBytesRead += nBytes; if ( nBytes ) { |