Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pramsey committed Feb 1, 2021
1 parent 5edef96 commit 55f1edb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ogr_fdw_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ ogrGenerateSQL(const char* server, const char* layer, const char* table, const c
char *p;
char stripped_config_options[STR_MAX_LEN] = {0};
char option[NAMEDATALEN];
char *short_name = GDALGetDriverShortName(ogr_dr);
const char *short_name = GDALGetDriverShortName(ogr_dr);

strncpy(stripped_config_options, options, STR_MAX_LEN - 1);
p = strtok(strip_spaces(stripped_config_options), ",");
Expand Down

0 comments on commit 55f1edb

Please sign in to comment.