Skip to content

Commit 24ed18b

Browse files
committed
Quiet clang warnings about non-static static members
1 parent 45a2547 commit 24ed18b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ogr_fdw_info.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ strip_spaces(char* str)
5959
/* in the ogr_fdw_common module works */
6060
const char* quote_identifier(const char* ident);
6161

62-
char identifier[NAMEDATALEN+3];
62+
static char identifier[NAMEDATALEN+3];
6363

6464
const char*
6565
quote_identifier(const char* ident)
@@ -76,7 +76,8 @@ quote_identifier(const char* ident)
7676
}
7777
return identifier;
7878
}
79-
char config_options[STR_MAX_LEN] = {0};
79+
80+
static char config_options[STR_MAX_LEN] = {0};
8081

8182

8283
static void

0 commit comments

Comments
 (0)