forked from OSchip/llvm-project
parent
296a83cefb
commit
104fc7f823
|
@ -49,6 +49,7 @@ static inline void check_ltdl_initialization() {
|
||||||
static bool did_initialize_ltdl = false;
|
static bool did_initialize_ltdl = false;
|
||||||
if (!did_initialize_ltdl) {
|
if (!did_initialize_ltdl) {
|
||||||
int Err = lt_dlinit();
|
int Err = lt_dlinit();
|
||||||
|
Err = Err; // Silence warning.
|
||||||
assert(0 == Err && "Can't init the ltdl library");
|
assert(0 == Err && "Can't init the ltdl library");
|
||||||
did_initialize_ltdl = true;
|
did_initialize_ltdl = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue