Skip to content

Commit db8a939

Browse files
committed
fixed:linux build error and warn
1 parent b7c8614 commit db8a939

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

XEngine_Source/StorageModule_Session/pch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// 添加要在此处预编译的标头
1212
#include "framework.h"
1313
#include <tchar.h>
14+
#include <io.h>
1415
#else
1516
#include <unistd.h>
1617
#endif
@@ -20,7 +21,6 @@
2021
#include <string.h>
2122
#include <errno.h>
2223
#include <time.h>
23-
#include <io.h>
2424
#include <sys/types.h>
2525
#include <sys/stat.h>
2626
#include <list>

XEngine_Source/XEngine_StorageComponents/XStorage_SQLPacket/XStorage_SQLHelp/XStorage_SQLHelp.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ BOOL CXStorage_SQLHelp::XStorage_SQLHelp_Query(TCHAR* ptszSQLBuffer, LPCTSTR lps
163163
{
164164
XStorage_IsErrorOccur = FALSE;
165165

166-
BOOL bInit = FALSE;
167166
TCHAR tszSQLQuery[1024];
168167
memset(tszSQLQuery, '\0', sizeof(tszSQLQuery));
169168

0 commit comments

Comments
 (0)