diff --git a/lib/ogsf/gp3.c b/lib/ogsf/gp3.c index b556aabd3bc..83be8a24063 100644 --- a/lib/ogsf/gp3.c +++ b/lib/ogsf/gp3.c @@ -181,7 +181,7 @@ int Gp_load_sites_thematic(geosite *gp, struct Colors *colors) const char *mapset; char *fname; - dbDriver *driver; + dbDriver *driver = NULL; dbValue value; if (!gp || !gp->tstyle || !gp->filename)