Skip to content

Commit 16b3536

Browse files
committed
bugreporter: Join declaration and assignment for var
1 parent c10868b commit 16b3536

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

utils/bugreporter_public/bugreporter_upload.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,6 @@ CWin32UploadBugReport::~CWin32UploadBugReport()
476476
//-----------------------------------------------------------------------------
477477
bool CWin32UploadBugReport::DoBlockingReceive( uint bytesExpected, CUtlBuffer& buf )
478478
{
479-
uint totalReceived = 0;
480-
481479
buf.Purge();
482480
for ( ;; )
483481
{
@@ -488,7 +486,7 @@ bool CWin32UploadBugReport::DoBlockingReceive( uint bytesExpected, CUtlBuffer& b
488486
return false;
489487

490488
buf.Put( temp, bytesReceived );
491-
totalReceived = buf.TellPut();
489+
uintp totalReceived = buf.TellPut();
492490
if ( totalReceived >= bytesExpected )
493491
break;
494492

0 commit comments

Comments
 (0)