Browse Source

tools-source: initialize some vars in versionsort.c to make ubuntu's gcc happier

karasz/new-early
Alejandro Mery 17 years ago
parent
commit
843e2c86bb
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/tools-source/versionsort.c

+ 2
- 1
src/tools-source/versionsort.c

@ -23,7 +23,8 @@
static int cmp_version(const void *p0, const void *p1)
{
const char *p, *q, *s0 = *(const char **)p0, *s1 = *(const char **)p1;
unsigned int a, b, ck0 = 1, ck1 = 1;
unsigned int a = 0, b = 0;
unsigned int ck0 = 1, ck1 = 1;
while (ck0 || ck1) {
a = b = 0;

Loading…
Cancel
Save