Commit 17bd3b964f8acb1244a3910365ac7967ff3c758c

Etienne Samson 2018-06-19T20:15:49

tests: mailmap/parsing: add a missing cl_git_pass Reported by Coverity, CID 1393483

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/mailmap/parsing.c b/tests/mailmap/parsing.c
index 4479e41..dc5096c 100644
--- a/tests/mailmap/parsing.c
+++ b/tests/mailmap/parsing.c
@@ -86,7 +86,7 @@ void test_mailmap_parsing__windows_string(void)
 
 	/* Parse with windows-style line endings */
 	git_buf_attach_notowned(&unixbuf, string_mailmap, strlen(string_mailmap));
-	git_buf_text_lf_to_crlf(&winbuf, &unixbuf);
+	cl_git_pass(git_buf_text_lf_to_crlf(&winbuf, &unixbuf));
 
 	cl_git_pass(git_mailmap_from_buffer(&g_mailmap, winbuf.ptr, winbuf.size));
 	git_buf_dispose(&winbuf);