mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-21 15:50:07 +01:00
fix compiler warning "suggest parentheses around assignment used as truth
value [-Wparentheses]" in util.cpp
This commit is contained in:
committed by
Luke Dashjr
parent
e6578e7fa7
commit
4898482915
@@ -236,7 +236,7 @@ inline int OutputDebugStringF(const char* pszFormat, ...)
|
||||
*pend = '\0';
|
||||
char* p1 = pszBuffer;
|
||||
char* p2;
|
||||
while (p2 = strchr(p1, '\n'))
|
||||
while ((p2 = strchr(p1, '\n')))
|
||||
{
|
||||
p2++;
|
||||
char c = *p2;
|
||||
|
||||
Reference in New Issue
Block a user