Browse Source

Z991239-527 #comment fix: 回归编译 MSVC 报错处理

gifur 5 years ago
parent
commit
17f8c0fe12
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Module/mod_cardswiper/CardSwiperFSM.cpp

+ 1 - 1
Module/mod_cardswiper/CardSwiperFSM.cpp

@@ -2661,7 +2661,7 @@ int CCardSwiperFSM::QueryConnInfo(int nFlag /* = 0*/)
 	m_bCancelQueryConn = false;
 	while (!m_bCancelQueryConn)
 	{
-		if(m_hDevHelper == NULL)
+		if(!m_hDevHelper)
 		{
 			break;
 		}