mirror of
https://github.com/rehlds/revoice.git
synced 2025-03-03 17:15:25 +03:00
Fix assignment-in-condition warning
This commit is contained in:
parent
0ff6507dff
commit
30cfd4dd41
@ -205,7 +205,7 @@ int CUtlBuffer::VaScanf(char const* pFmt, va_list list)
|
|||||||
|
|
||||||
char c;
|
char c;
|
||||||
char* pEnd;
|
char* pEnd;
|
||||||
while (c = *pFmt++)
|
while ((c = *pFmt++))
|
||||||
{
|
{
|
||||||
// Stop if we hit the end of the buffer
|
// Stop if we hit the end of the buffer
|
||||||
if (m_Get >= Size())
|
if (m_Get >= Size())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user