diff options
author | agc <agc@pkgsrc.org> | 1997-11-18 12:36:02 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1997-11-18 12:36:02 +0000 |
commit | ff165071e5bf44f21bff5914dd064c92c0f5a54e (patch) | |
tree | 63ef891b7daff48b08b0092b8963f6991bb11853 /archivers/ha | |
parent | 832de6c3d0073ddafbf703311f5bb8238b0cc31d (diff) | |
download | pkgsrc-ff165071e5bf44f21bff5914dd064c92c0f5a54e.tar.gz |
Silence compiler warnings when building ha.
Diffstat (limited to 'archivers/ha')
-rw-r--r-- | archivers/ha/patches/patch-aa | 19 |
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]; |