]> git.donarmstrong.com Git - samtools.git/commitdiff
Fix problem with compiling without curses.
authorOn behalf of Bob Handsaker <lh3@sanger.ac.uk>
Wed, 7 Jan 2009 21:42:15 +0000 (21:42 +0000)
committerOn behalf of Bob Handsaker <lh3@sanger.ac.uk>
Wed, 7 Jan 2009 21:42:15 +0000 (21:42 +0000)
bam_maqcns.c
bam_tview.c

index c8009aa91e1b273cfdfdcba3cd84942e3a9a3b42..65ed64c7031b030f84d9ac8ffc317ba8e5d942c1 100644 (file)
@@ -15,6 +15,8 @@ typedef struct {
        uint32_t mapQ_max;
 } glf_call_aux_t;
 
+char bam_nt16_nt4_table[] = { 4, 0, 1, 4, 2, 4, 4, 4, 3, 4, 4, 4, 4, 4, 4, 4 };
+
 /*
   P(<b1,b2>) = \theta \sum_{i=1}^{N-1} 1/i
   P(D|<b1,b2>) = \sum_{k=1}^{N-1} p_k 1/2 [(k/N)^n_2(1-k/N)^n_1 + (k/N)^n1(1-k/N)^n_2]
index 3dfb20108ee4cef7ba4d03f5294138240090883b..e71a3860eda0088d9ae3bdde9d073c8e71c80063 100644 (file)
@@ -31,8 +31,6 @@ typedef struct {
        char *ref;
 } tview_t;
 
-char bam_nt16_nt4_table[] = { 4, 0, 1, 4, 2, 4, 4, 4, 3, 4, 4, 4, 4, 4, 4, 4 };
-
 int tv_pl_func(uint32_t tid, uint32_t pos, int n, const bam_pileup1_t *pl, void *data)
 {
        tview_t *tv = (tview_t*)data;
@@ -176,7 +174,6 @@ int tv_fetch_func(const bam1_t *b, void *data)
 
 int tv_draw_aln(tview_t *tv, int tid, int pos)
 {
-       int end;
        // reset
        clear();
        tv->curr_tid = tid; tv->left_pos = pos;