Skip to content

Commit 73ca1e1

Browse files
committed
r233: got rid off a compiler warning
1 parent 8cb180a commit 73ca1e1

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

gfa-bbl.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ gfa_bubble_t *gfa_bubble(const gfa_t *g, int32_t *n_bb_)
300300
if (sst->snid == i && sen->snid == i) {
301301
int32_t n, l;
302302
uint32_t *v;
303-
float f;
304303
gfa_bubble_t *b;
305304

306305
// basic information
@@ -340,13 +339,13 @@ gfa_bubble_t *gfa_bubble(const gfa_t *g, int32_t *n_bb_)
340339

341340
// generate sequences and cf_min/cf_max
342341
GFA_MALLOC(v, j - jst);
343-
k = j, n = 0, f = 1.0f;
342+
k = j, n = 0;
344343
while (k > jst) {
345344
if (k < j) v[n++] = sub->v[k].v;
346345
k = ba[k].sp;
347346
}
348347
bb_write_seq(g, n, v, b->len_min, b->seq_min);
349-
k = j, n = 0, f = 1.0f;
348+
k = j, n = 0;
350349
while (k > jst) {
351350
if (k < j) v[n++] = sub->v[k].v;
352351
k = ba[k].lp;

gfa.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <stdio.h>
55
#include <stdint.h>
66

7-
#define GFA_VERSION "0.4-r232-dirty"
7+
#define GFA_VERSION "0.4-r233-dirty"
88

99
#define GFA_O_OV_EXT 0x1
1010
#define GFA_O_NO_SEQ 0x2

0 commit comments

Comments
 (0)