* iface/dve2/dve2.cc: Kill a spurious warning.

This commit is contained in:
Alexandre Duret-Lutz 2011-05-30 12:00:58 +02:00
parent 1eb0464afc
commit bf2b44c6de
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2011-05-30 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* iface/dve2/dve2.cc: Kill a spurious warning.
2011-05-30 Alexandre Duret-Lutz <adl@lrde.epita.fr> 2011-05-30 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* bench/wdba/README: Typos. * bench/wdba/README: Typos.

View file

@ -519,7 +519,7 @@ namespace spot
while (*s && (*s == ' ' || *s == '\t')) while (*s && (*s == ' ' || *s == '\t'))
++s; ++s;
int val; int val = 0; // Initialize to kill a warning from old compilers.
int type_num = ni->second.type; int type_num = ni->second.type;
if (type_num == 0 || (*s >= '0' && *s <= '9') || *s == '-') if (type_num == 0 || (*s >= '0' && *s <= '9') || *s == '-')
{ {