projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cdcdf0
)
Fix warning converting from void* to boolean introduced in r301153.
author
Frederich Munch
<colsebas@hotmail.com>
Mon, 24 Apr 2017 02:51:40 +0000
(
02:51
+0000)
committer
Frederich Munch
<colsebas@hotmail.com>
Mon, 24 Apr 2017 02:51:40 +0000
(
02:51
+0000)
llvm-svn: 301155
llvm/lib/Support/DynamicLibrary.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/DynamicLibrary.cpp
b/llvm/lib/Support/DynamicLibrary.cpp
index
1541a57
..
05e7ca6
100644
(file)
--- a/
llvm/lib/Support/DynamicLibrary.cpp
+++ b/
llvm/lib/Support/DynamicLibrary.cpp
@@
-61,7
+61,7
@@
public:
Handles.push_back(Handle);
} else {
#ifndef LLVM_ON_WIN32
- if (Process) {
+ if (Process
!= nullptr
) {
if (CanClose)
DLClose(Process);
if (Process == Handle)