Skip to content

Commit 633970b

Browse files
authored
Merge pull request #1763 from jmarshall/no-zlib
Remove unused <zlib.h> inclusions [minor]
2 parents eafc742 + c947158 commit 633970b

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

prob1.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,12 @@ THE SOFTWARE. */
3030
#include <errno.h>
3131
#include <assert.h>
3232
#include <limits.h>
33-
#include <zlib.h>
3433
#include "prob1.h"
3534

36-
// #include "kstring.h"
37-
// #include "kseq.h"
38-
// KSTREAM_INIT(gzFile, gzread, 16384)
39-
4035
#define MC_MAX_EM_ITER 16
4136
#define MC_EM_EPS 1e-5
4237
#define MC_DEF_INDEL 0.15
4338

44-
gzFile bcf_p1_fp_lk;
45-
4639
void bcf_p1_indel_prior(bcf_p1aux_t *ma, double x)
4740
{
4841
int i;
@@ -304,8 +297,6 @@ static void mc_cal_y_core(bcf_p1aux_t *ma, int beg)
304297
}
305298
}
306299
if (z[0] != ma->z) memcpy(ma->z, z[0], sizeof(double) * (ma->M + 1));
307-
if (bcf_p1_fp_lk)
308-
gzwrite(bcf_p1_fp_lk, ma->z, sizeof(double) * (ma->M + 1));
309300
}
310301

311302
static void mc_cal_y(bcf_p1aux_t *ma)

vcfcall.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ THE SOFTWARE. */
3232
#include <math.h>
3333
#include <htslib/vcf.h>
3434
#include <time.h>
35-
#include <zlib.h>
3635
#include <stdarg.h>
3736
#include <htslib/kfunc.h>
3837
#include <htslib/synced_bcf_reader.h>

0 commit comments

Comments
 (0)