Skip to content

Commit 9c08899

Browse files
durin42github-actions[bot]
authored andcommitted
Automerge: [clangd] fix warning by adding missing parens
2 parents 0baf7f0 + df79000 commit 9c08899

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)