Commit Diff


commit - 0c9bd0c5ed98a655cbac3d0fa51ea938f2356a57
commit + 80f0eb00bf4c3fc2dcfafeb2820e772a1ad179c3
blob - eb671e98a6bfce68a3dd1b243c6c076cbf37867a
blob + 19f447bf0d80674626f1080da1ef73f785a6408c
--- regress/delta/delta_test.c
+++ regress/delta/delta_test.c
@@ -19,7 +19,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <zlib.h>
 
 #include "got_error.h"
 
blob - 6b8432947f98187d676709cf988d10e08eb142b9
blob + dc3d02d6a35b3adf02e123790a220ea89e05f669
--- regress/packfiles/packfile_test.c
+++ regress/packfiles/packfile_test.c
@@ -20,7 +20,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <sha1.h>
-#include <zlib.h>
 
 #include "got_error.h"
 #include "got_object.h"
blob - 3d4d249e0b42c1e4bf4fa1445c1aa4db008e0a7c
blob + 20ffaffe8820aaade6b2ea3112dfe204be331753
--- regress/repository/repository_test.c
+++ regress/repository/repository_test.c
@@ -21,8 +21,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <sha1.h>
-#include <zlib.h>
 #include <unistd.h>
 
 #include "got_error.h"
@@ -224,7 +222,6 @@ repo_read_tree(const char *repo_path)
 	const struct got_error *err;
 	struct got_repository *repo;
 	struct got_object *obj;
-	char hex[SHA1_DIGEST_STRING_LENGTH];
 	int i;
 	size_t len;
 
@@ -252,7 +249,6 @@ repo_read_blob(const char *repo_path)
 	struct got_repository *repo;
 	struct got_object *obj;
 	struct got_blob_object *blob;
-	char hex[SHA1_DIGEST_STRING_LENGTH];
 	int i;
 	size_t len;
 
@@ -297,7 +293,6 @@ repo_diff_blob(const char *repo_path)
 	struct got_object *obj2;
 	struct got_blob_object *blob1;
 	struct got_blob_object *blob2;
-	char hex[SHA1_DIGEST_STRING_LENGTH];
 	int i;
 	size_t len;
 	FILE *outfile;
@@ -354,7 +349,6 @@ repo_diff_tree(const char *repo_path)
 	struct got_object *obj2;
 	struct got_tree_object *tree1;
 	struct got_tree_object *tree2;
-	char hex[SHA1_DIGEST_STRING_LENGTH];
 	int i;
 	size_t len;
 	FILE *outfile;