summaryrefslogtreecommitdiffstats
path: root/Utilities/cmexpat/lib/loadlibrary.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-07-02 12:37:18 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-07-02 12:38:24 (GMT)
commit5d8dcdf5be57e66ab3a50d9f17f94baf24424582 (patch)
treec80ec628b406c48a5484584b2cc39835373ad87c /Utilities/cmexpat/lib/loadlibrary.c
parent41acd44625f63d0730fdbd983ea598b227622087 (diff)
parent0998f6396a51248aa307c3254f876d2699597a5b (diff)
downloadCMake-5d8dcdf5be57e66ab3a50d9f17f94baf24424582.zip
CMake-5d8dcdf5be57e66ab3a50d9f17f94baf24424582.tar.gz
CMake-5d8dcdf5be57e66ab3a50d9f17f94baf24424582.tar.bz2
Merge topic 'update-expat'
0998f6396a Merge branch 'upstream-expat' into update-expat ba13dc2aa8 expat 2019-06-19 (d3b78b42) 7449c63f3e expat: Update script to get Expat 2.2.7 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3501
Diffstat (limited to 'Utilities/cmexpat/lib/loadlibrary.c')
-rw-r--r--Utilities/cmexpat/lib/loadlibrary.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Utilities/cmexpat/lib/loadlibrary.c b/Utilities/cmexpat/lib/loadlibrary.c
index ffce868..35fdf98 100644
--- a/Utilities/cmexpat/lib/loadlibrary.c
+++ b/Utilities/cmexpat/lib/loadlibrary.c
@@ -6,8 +6,10 @@
* \___|\___/|_| \_\_____|
*
* Copyright (C) 2016 - 2017, Steve Holme, <steve_holme@hotmail.com>.
+ * Copyright (C) 2017, Expat development team
*
* All rights reserved.
+ * Licensed under the MIT license:
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -82,7 +84,7 @@ HMODULE _Expat_LoadLibrary(LPCTSTR filename)
/* Get a handle to kernel32 so we can access it's functions at runtime */
HMODULE hKernel32 = GetModuleHandle(TEXT("kernel32"));
if(!hKernel32)
- return NULL;
+ return NULL; /* LCOV_EXCL_LINE */
/* Attempt to find LoadLibraryEx() which is only available on Windows 2000
and above */