Revision: 107671
Date: Tuesday, July 6, 2010 9:11:44 AM PT

Jean-Daniel Dupas patch that fixes a bad if statement with assignment.

Changes:
        M /lldb/trunk/source/Commands/CommandCompletions.cpp


I also updated the Xcode projects to include "-Wparentheses" in the CFLAGS:

Sending        lldb.xcodeproj/project.pbxproj
Sending        tools/debugserver/debugserver.xcodeproj/project.pbxproj
Transmitting file data ..
Committed revision 107672.


On Jul 6, 2010, at 9:07 AM, Jean-Daniel Dupas wrote:

> In CommandCompletion.h:243
> 
> if (resolved_username_len = 0 || resolved_username_len >= sizeof 
> (containing_part))
> 
> should be 
> 
> if (resolved_username_len == 0 || resolved_username_len >= sizeof 
> (containing_part))
> 
> 
> That's why you should compile with -Wparenthese ;-)
> 
> 
> <hum.patch>
> 
> 
> -- Jean-Daniel
> 
> 
> 
> 
> _______________________________________________
> lldb-dev mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev


_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to