[Gpsbabel-code] C89 patch committed
Brought to you by:
robertl
From: Alex M. <al...@co...> - 2003-12-18 14:22:34
|
Nothing fancy. Just keepin' the compilers compiling. alex Index: gpx.c =================================================================== RCS file: /cvsroot/gpsbabel/gpsbabel/gpx.c,v retrieving revision 1.57 diff -p -u -r1.57 gpx.c --- gpx.c 13 Dec 2003 07:13:46 -0000 1.57 +++ gpx.c 18 Dec 2003 14:06:40 -0000 @@ -551,13 +551,13 @@ static void gpx_end(void *data, const char *el) { char *s = strrchr(current_tag.mem, '/'); + float x; if (strcmp(s + 1, el)) { fprintf(stderr, "Mismatched tag %s\n", el); } *s = 0; - float x; if (in_cdata) { if (in_name && in_wpt && !in_gs_tbugs) { |