Commit bc746910eed77bb53990fbedafbd9c653538e7e3

Edward Thomson 2022-01-30T18:32:32

Merge pull request #6185 from boretrk/noext

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 98881b5..e1754e5 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,5 +1,6 @@
 add_library(git2internal OBJECT)
 set_target_properties(git2internal PROPERTIES C_STANDARD 90)
+set_target_properties(git2internal PROPERTIES C_EXTENSIONS OFF)
 
 
 if(DEPRECATE_HARD)
diff --git a/src/transports/smart_protocol.c b/src/transports/smart_protocol.c
index 69edb4a..0610281 100644
--- a/src/transports/smart_protocol.c
+++ b/src/transports/smart_protocol.c
@@ -521,7 +521,6 @@ int git_smart__download_pack(
 	int error = 0;
 	struct network_packetsize_payload npp = {0};
 
-	// TODO
 	git_indexer_progress_cb progress_cb = t->connect_opts.callbacks.transfer_progress;
 	void *progress_payload = t->connect_opts.callbacks.payload;