diff options
author | drh <drh@noemail.net> | 2017-06-20 18:19:16 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2017-06-20 18:19:16 +0000 |
commit | f383f35e6cd4569a88dae3efa46f32727502de60 (patch) | |
tree | 180bb59d050649960e78c736e1f1445864c43b3a /src | |
parent | bd11a2acbb29dd6548dc49961d78694c5e0c3f7e (diff) | |
download | sqlite-f383f35e6cd4569a88dae3efa46f32727502de60.tar.gz sqlite-f383f35e6cd4569a88dae3efa46f32727502de60.zip |
Rename the azCompileOpt global constant to avoid a harmless compiler warning
about a name conflict with a local variable.
FossilOrigin-Name: 94e420ecfb4ec047eb7d1d3125ca8487c90d466760b7f7183759ff922bd868d1
Diffstat (limited to 'src')
-rw-r--r-- | src/ctime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ctime.c b/src/ctime.c index cbb6aea8a..5644e5314 100644 --- a/src/ctime.c +++ b/src/ctime.c @@ -30,7 +30,7 @@ ** only a handful of compile-time options, so most times this array is usually ** rather short and uses little memory space. */ -static const char * const azCompileOpt[] = { +static const char * const sqlite3azCompileOpt[] = { /* ** BEGIN CODE GENERATED BY tool/mkctime.tcl @@ -728,8 +728,8 @@ static const char * const azCompileOpt[] = { }; const char **sqlite3CompileOptions(int *pnOpt){ - *pnOpt = sizeof(azCompileOpt) / sizeof(azCompileOpt[0]); - return (const char**)azCompileOpt; + *pnOpt = sizeof(sqlite3azCompileOpt) / sizeof(sqlite3azCompileOpt[0]); + return (const char**)sqlite3azCompileOpt; } #endif /* SQLITE_OMIT_COMPILEOPTION_DIAGS */ |