Skip to content

Commit d4e320e

Browse files
authored
[lldb][NFC] Fix -Wparentheses warning.
Fix `using the result of an assignment as a condition without parentheses` warning.
1 parent e40c5b4 commit d4e320e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@ Status GDBRemoteCommunication::StartDebugserverProcess(
947947

948948
Status error;
949949
FileSpec &debugserver_file_spec = launch_info.GetExecutableFile();
950-
if (debugserver_file_spec = GetDebugserverPath(platform)) {
950+
if ((debugserver_file_spec = GetDebugserverPath(platform))) {
951951
std::string debugserver_path = debugserver_file_spec.GetPath();
952952

953953
Args &debugserver_args = launch_info.GetArguments();

0 commit comments

Comments
 (0)