shithub: git9

Download patch

ref: 94c13f98027ccd52343168e5af279028a403b1fc
parent: 1e8a5c690d21a1b6fc3ff78b116541bb139c761f
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Sep 17 16:31:29 EDT 2020

pack: shut up bogus warning

something's wrong if we don't have metadata,
but kencc doesn't know that.

--- a/pack.c
+++ b/pack.c
@@ -1256,6 +1256,8 @@
 	Delta *d;
 	int i, x, nd, sz, pcnt, best;
 
+	m = nil;
+	p = nil;
 	pcnt = 0;
 	fprint(2, "deltifying %d objects:   0%%", nmeta);
 	qsort(meta, nmeta, sizeof(Objmeta), dsortcmp);