--- lib_mysqludf_fPROJ4.c.orig 2010-05-09 13:46:12.000000000 +0200 +++ lib_mysqludf_fPROJ4.c 2011-10-19 02:32:48.000000000 +0200 @@ -1,5 +1,3 @@ -/* - /* lib_mysqludf_fPROJ4 - An extended set of scientific functions which converts geographic longitude and latitude coordinates into cartesian @@ -178,7 +176,7 @@ } double fPROJ4_transform(UDF_INIT *initid, UDF_ARGS *args, char *is_null, char *error) { - projPJ pj_in, pj_out; + projPJ pj_in=NULL, pj_out=NULL; double x, y,z; int p,t; @@ -248,7 +246,7 @@ } double fPROJ4_Geo2UTM(UDF_INIT *initid, UDF_ARGS *args, char *is_null, char *error) { - projPJ pj_in, pj_out; + projPJ pj_in=NULL, pj_out=NULL; double x, y; int p,t,zone; char *tmp; @@ -323,7 +321,7 @@ } double fPROJ4_UTM2Geo(UDF_INIT *initid, UDF_ARGS *args, char *is_null, char *error) { - projPJ pj_in, pj_out; + projPJ pj_in=NULL, pj_out=NULL; double x, y; int p,t,zone; char *tmp;