summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorpunkymaniac <punkymaniac@protonmail.ch>2021-03-17 10:48:17 +0100
committerpunkymaniac <punkymaniac@protonmail.ch>2021-03-17 10:48:17 +0100
commit8f52b0c55316f10cdeb8aaa5a69b36d30d44e834 (patch)
tree2b1caa577f77f13e642d26ce2c520cd3f2461c21 /examples
parent4f4b1139d23a7b38cceb9d83acbfaf73151f522f (diff)
downloadlibgit2-8f52b0c55316f10cdeb8aaa5a69b36d30d44e834.tar.gz
Remove duplicate line, in example code
Diffstat (limited to 'examples')
-rw-r--r--examples/general.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/general.c b/examples/general.c
index 1622ff8b0..5da2b6f6f 100644
--- a/examples/general.c
+++ b/examples/general.c
@@ -158,11 +158,6 @@ static void oid_parsing(git_oid *oid)
* If you have a oid, you can easily get the hex value of the SHA as well.
*/
git_oid_fmt(out, oid);
-
- /**
- * If you have a oid, you can easily get the hex value of the SHA as well.
- */
- git_oid_fmt(out, oid);
printf("SHA hex string: %s\n", out);
}