An other small error

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 :wink:

hum.patch (693 Bytes)

Revision: 107671

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.