Skip to content

Commit 06dd1d1

Browse files
authored
Merge pull request #154 from idkjs/patch-1
ignore unused `resp` variable on line 392
2 parents 80ec51b + 6283cb9 commit 06dd1d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codegens/ocaml-cohttp/lib/ocaml.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ self = module.exports = {
389389
if (bodySnippet !== '') {
390390
codeSnippet += '~body ';
391391
}
392-
codeSnippet += `${methodArg} uri >>= fun (resp, body) ->\n`;
392+
codeSnippet += `${methodArg} uri >>= fun (_resp, body) ->\n`;
393393
codeSnippet += `${indent}body |> Cohttp_lwt.Body.to_string >|= fun body -> body\n\n`;
394394
codeSnippet += 'let () =\n';
395395
codeSnippet += `${indent}let respBody = Lwt_main.run reqBody in\n`;

0 commit comments

Comments
 (0)