projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fea997a
)
silence warning
author
Chris Lattner
<sabre@nondot.org>
Thu, 1 Feb 2007 04:57:00 +0000
(
04:57
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 1 Feb 2007 04:57:00 +0000
(
04:57
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33746
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/DynamicLibrary.cpp
patch
|
blob
|
history
diff --git
a/lib/System/DynamicLibrary.cpp
b/lib/System/DynamicLibrary.cpp
index 8a1dec2169b509b4e0d7714de760c7a97ac8fe2a..8119348547c403c30ae0ac7747db330e8d059d37 100644
(file)
--- a/
lib/System/DynamicLibrary.cpp
+++ b/
lib/System/DynamicLibrary.cpp
@@
-49,6
+49,7
@@
static inline void check_ltdl_initialization() {
static bool did_initialize_ltdl = false;
if (!did_initialize_ltdl) {
int Err = lt_dlinit();
+ Err = Err; // Silence warning.
assert(0 == Err && "Can't init the ltdl library");
did_initialize_ltdl = true;
}