summaryrefslogtreecommitdiff
path: root/archivers/ha/patches
diff options
context:
space:
mode:
authoragc <agc>1997-11-18 12:36:02 +0000
committeragc <agc>1997-11-18 12:36:02 +0000
commit73339c371fc6338b811306e3fb6a5939c27f7d4b (patch)
tree63ef891b7daff48b08b0092b8963f6991bb11853 /archivers/ha/patches
parent9aa254347b54883555fb43edbd400187e89e4115 (diff)
downloadpkgsrc-73339c371fc6338b811306e3fb6a5939c27f7d4b.tar.gz
Silence compiler warnings when building ha.
Diffstat (limited to 'archivers/ha/patches')
-rw-r--r--archivers/ha/patches/patch-aa19
1 files changed, 19 insertions, 0 deletions
diff --git a/archivers/ha/patches/patch-aa b/archivers/ha/patches/patch-aa
index 0bdd3610fb1..6a97fb07c55 100644
--- a/archivers/ha/patches/patch-aa
+++ b/archivers/ha/patches/patch-aa
@@ -17,3 +17,22 @@
if (mdfullpath[i]=='/') {
i++;
break;
+--- c/hsc.c 1997/11/18 12:32:02 1.1
++++ c/hsc.c 1997/11/18 12:33:06
+@@ -491,6 +491,7 @@
+
+ esc=adj_escape_prob(fe[cp],cp);
+ tot=ft[cp];
++ cf = 0;
+ if (nec>=NECLIM) {
+ if (tot<=NECTLIM && nec==NECMAX) sv=2;
+ else sv=1;
+@@ -548,7 +549,7 @@
+ register U16B i;
+ register S16B sum,tot,esc,cf;
+
+- esc=tot=0;
++ esc=tot=cf=0;
+ for (i=cp;i!=NIL;i=nb[i]) {
+ if (!cmask[fc[i]]) {
+ tot+=fa[i];