mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 10:58:11 +08:00
Jean-Daniel Dupas patch that fixes a bad if statement with assignment.
llvm-svn: 107671
This commit is contained in:
@@ -240,7 +240,7 @@ DiskFilesOrDirectories
|
||||
{
|
||||
int resolved_username_len = FileSpec::ResolveUsername(containing_part, containing_part, sizeof (containing_part));
|
||||
// User name doesn't exist, we're not getting any further...
|
||||
if (resolved_username_len = 0 || resolved_username_len >= sizeof (containing_part))
|
||||
if (resolved_username_len == 0 || resolved_username_len >= sizeof (containing_part))
|
||||
return matches.GetSize();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user