Skip to content

Commit

Permalink
NULL initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham Vasudeo Desai committed Jan 28, 2025
1 parent 59febee commit 88a5306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ogsf/gp3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 88a5306

Please sign in to comment.