Skip to content

Commit

Permalink
Remove unused <zlib.h> inclusions
Browse files Browse the repository at this point in the history
Remove remaining references to bcf_p1_fp_lk, which has been unused
since the undocumented call -K option was removed in 0.1.0-33-gc4172c5.
After that, neither source file actually uses anything from <zlib.h>.
  • Loading branch information
jmarshall committed Jul 27, 2022
1 parent eafc742 commit c947158
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions prob1.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,12 @@ THE SOFTWARE. */
#include <errno.h>
#include <assert.h>
#include <limits.h>
#include <zlib.h>
#include "prob1.h"

// #include "kstring.h"
// #include "kseq.h"
// KSTREAM_INIT(gzFile, gzread, 16384)

#define MC_MAX_EM_ITER 16
#define MC_EM_EPS 1e-5
#define MC_DEF_INDEL 0.15

gzFile bcf_p1_fp_lk;

void bcf_p1_indel_prior(bcf_p1aux_t *ma, double x)
{
int i;
Expand Down Expand Up @@ -304,8 +297,6 @@ static void mc_cal_y_core(bcf_p1aux_t *ma, int beg)
}
}
if (z[0] != ma->z) memcpy(ma->z, z[0], sizeof(double) * (ma->M + 1));
if (bcf_p1_fp_lk)
gzwrite(bcf_p1_fp_lk, ma->z, sizeof(double) * (ma->M + 1));
}

static void mc_cal_y(bcf_p1aux_t *ma)
Expand Down
1 change: 0 additions & 1 deletion vcfcall.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ THE SOFTWARE. */
#include <math.h>
#include <htslib/vcf.h>
#include <time.h>
#include <zlib.h>
#include <stdarg.h>
#include <htslib/kfunc.h>
#include <htslib/synced_bcf_reader.h>
Expand Down

0 comments on commit c947158

Please sign in to comment.