Skip to content

Commit df79000

Browse files
committed
[clangd] fix warning by adding missing parens
1 parent 96f3697 commit df79000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Debuginfod/Debuginfod.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ Expected<std::string> getCachedOrDownloadArtifact(
309309
Error Err = Client.perform(Request, Handler);
310310
if (Err)
311311
return std::move(Err);
312-
if (Err = Handler.commit())
312+
if ((Err = Handler.commit()))
313313
return std::move(Err);
314314

315315
unsigned Code = Client.responseCode();

0 commit comments

Comments
 (0)