Browse Source

ckdb - remove stupid gcc warning

master
kanoi 9 years ago
parent
commit
e9a61d761b
  1. 10
      src/ktree.c

10
src/ktree.c

@ -89,15 +89,11 @@ static void show_ktree(K_TREE *root, char *path, int pos, char *(*dsp_funct)(K_I
path[pos] = '\0'; path[pos] = '\0';
switch(root->red) if (root->red == RED_RED)
{
case RED_RED:
col = 'R'; col = 'R';
break; else
case RED_BLACK: // if (root->red == RED_BLACK)
col = 'B'; col = 'B';
break;
}
printf(" %c %s=%s\n", col, path, dsp_funct(root->data)); printf(" %c %s=%s\n", col, path, dsp_funct(root->data));

Loading…
Cancel
Save