An easy case where GCC should really be able to work out that the value is only
used if IsInDevelopmentTree is 'true'. But it doesn't, so help it out. llvm-svn: 151244
This commit is contained in:
@@ -206,6 +206,7 @@ int main(int argc, char **argv) {
|
||||
ActiveObjRoot = LLVM_OBJ_ROOT;
|
||||
} else {
|
||||
IsInDevelopmentTree = false;
|
||||
DevelopmentTreeLayout = MakefileStyle; // Initialized to avoid warnings.
|
||||
}
|
||||
|
||||
// Compute various directory locations based on the derived location
|
||||
|
||||
Reference in New Issue
Block a user