mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-25 21:16:19 +00:00
Squelch compilation warnings on Sparc
llvm-svn: 16301
This commit is contained in:
parent
fa5efa6399
commit
21e6aa6874
@ -151,7 +151,7 @@ static inline bool LoadLibrary(const std::string &FN, Module*& Result) {
|
||||
}
|
||||
|
||||
if (Filename.readable() && Filename.is_bytecode_file()) {
|
||||
if (Result = GetModule(Filename))
|
||||
if ((Result = GetModule(Filename)))
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -161,7 +161,7 @@ static inline bool LoadLibrary(const std::string &FN, Module*& Result) {
|
||||
sys::Path path = GetPathForLinkageItem(FN,LibPaths[I]);
|
||||
if (!path.is_empty()) {
|
||||
if (path.is_bytecode_file()) {
|
||||
if (Result = GetModule(path)) {
|
||||
if ((Result = GetModule(path))) {
|
||||
return true;
|
||||
} else {
|
||||
// We found file but its not a valid bytecode file so we
|
||||
|
Loading…
Reference in New Issue
Block a user