mirror of
https://github.com/lh3/minimap2.git
synced 2026-10-06 05:08:11 +08:00
r1064: fixed another uninitialized condition
This one should also be harmless. It affects a min value, but that value is not actually used.
This commit is contained in:
@@ -247,7 +247,7 @@ int main(void) {
|
|||||||
unsigned char dir[KRMQ_MAX_DEPTH]; \
|
unsigned char dir[KRMQ_MAX_DEPTH]; \
|
||||||
int i, d = 0, cmp; \
|
int i, d = 0, cmp; \
|
||||||
unsigned cnt = 0; \
|
unsigned cnt = 0; \
|
||||||
fake.__head.p[0] = *root_, fake.__head.p[1] = 0; \
|
fake = **root_, fake.__head.p[0] = *root_, fake.__head.p[1] = 0; \
|
||||||
if (cnt_) *cnt_ = 0; \
|
if (cnt_) *cnt_ = 0; \
|
||||||
if (x) { \
|
if (x) { \
|
||||||
for (cmp = -1, p = &fake; cmp; cmp = __cmp(x, p)) { \
|
for (cmp = -1, p = &fake; cmp; cmp = __cmp(x, p)) { \
|
||||||
|
|||||||
Reference in New Issue
Block a user