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:
Heng Li 2021-06-16 10:16:36 -04:00
parent 3f7147864b
commit fe6a0bb337
2 changed files with 2 additions and 2 deletions

2
krmq.h
View File

@ -247,7 +247,7 @@ int main(void) {
unsigned char dir[KRMQ_MAX_DEPTH]; \
int i, d = 0, cmp; \
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 (x) { \
for (cmp = -1, p = &fake; cmp; cmp = __cmp(x, p)) { \

2
main.c
View File

@ -7,7 +7,7 @@
#include "mmpriv.h"
#include "ketopt.h"
#define MM_VERSION "2.20-r1063-dirty"
#define MM_VERSION "2.20-r1064-dirty"
#ifdef __linux__
#include <sys/resource.h>