Commit Diff


commit - 40dba3d841ef97bc452f734f6945dff48bc2f925
commit + 34570dbeba22613374809c75a8ed2f119db01ec5
blob - 3b84041649bd63f93a569f88ea5a0b8fe4b6fc99
blob + 9657150c85b801843b050722f1f56a5374458564
--- lib/diff_main.c
+++ lib/diff_main.c
@@ -343,7 +343,7 @@ diff_data_init_subsection(struct diff_data *d, struct 
 		*d = (struct diff_data){
 			.f = NULL,
 			.pos = 0,
-			.data = "",
+			.data = NULL,
 			.len = 0,
 			.root = parent->root,
 			.atoms.head = NULL,