2
0
mirror of https://github.com/rehlds/revoice.git synced 2025-03-03 09:05:29 +03:00

Fix assignment-in-condition warning

This commit is contained in:
the_hunter 2025-02-25 10:09:16 +02:00
parent 0ff6507dff
commit 30cfd4dd41

View File

@ -205,7 +205,7 @@ int CUtlBuffer::VaScanf(char const* pFmt, va_list list)
char c;
char* pEnd;
while (c = *pFmt++)
while ((c = *pFmt++))
{
// Stop if we hit the end of the buffer
if (m_Get >= Size())