silence warning

llvm-svn: 33746
This commit is contained in:
Chris Lattner 2007-02-01 04:57:00 +00:00
parent 296a83cefb
commit 104fc7f823
1 changed files with 1 additions and 0 deletions

View File

@ -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;
} }