[Ttssh2-commit] [8278] 構造体初期化の警告を修正

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2019年 10月 8日 (火) 22:58:45 JST


Revision: 8278
          https://osdn.net/projects/ttssh2/scm/svn/commits/8278
Author:   zmatsuo
Date:     2019-10-08 22:58:45 +0900 (Tue, 08 Oct 2019)
Log Message:
-----------
構造体初期化の警告を修正

Modified Paths:
--------------
    trunk/teraterm/common/compat_win.cpp

-------------- next part --------------
Modified: trunk/teraterm/common/compat_win.cpp
===================================================================
--- trunk/teraterm/common/compat_win.cpp	2019-10-08 13:58:34 UTC (rev 8277)
+++ trunk/teraterm/common/compat_win.cpp	2019-10-08 13:58:45 UTC (rev 8278)
@@ -55,12 +55,12 @@
 	{ "GetDpiForWindow", (void **)&pGetDpiForWindow },
 	{ "MonitorFromRect", (void **)&pMonitorFromRect },
 	{ "AdjustWindowRectExForDpi", (void **)&pAdjustWindowRectExForDpi },
-	{ NULL },
+	{},
 };
 
 static const APIInfo Lists_msimg32[] = {
 	{ "AlphaBlend", (void **)&pAlphaBlend },
-	{ NULL },
+	{},
 };
 
 static const APIInfo Lists_gdi32[] = {
@@ -68,12 +68,12 @@
 	{ "RemoveFontResourceExA", (void **)&pRemoveFontResourceExA },
 	{ "AddFontResourceExW", (void **)&pAddFontResourceExW },
 	{ "RemoveFontResourceExW", (void **)&pRemoveFontResourceExW },
-	{ NULL },
+	{},
 };
 
 static const APIInfo Lists_Shcore[] = {
 	{ "GetDpiForMonitor", (void **)&pGetDpiForMonitor },
-	{ NULL },
+	{},
 };
 
 static const DllInfo DllInfos[] = {
@@ -81,7 +81,7 @@
 	{ _T("msimg32.dll"), DLL_LOAD_LIBRARY_SYSTEM, DLL_ACCEPT_NOT_EXIST, Lists_msimg32 },
 	{ _T("gdi32.dll"), DLL_LOAD_LIBRARY_SYSTEM, DLL_ACCEPT_NOT_EXIST, Lists_gdi32 },
 	{ _T("Shcore.dll"), DLL_LOAD_LIBRARY_SYSTEM, DLL_ACCEPT_NOT_EXIST, Lists_Shcore },
-	{ NULL },
+	{},
 };
 
 void WinCompatInit()


Ttssh2-commit メーリングリストの案内
Back to archive index