Commit 138a8832 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

odbc32: Constify some variables.

parent b29c99c5
......@@ -347,7 +347,7 @@ static void ODBC_ReplicateODBCToRegistry (int is_user, SQLHENV hEnv)
KEY_ALL_ACCESS, NULL, &hDSN, NULL))
== ERROR_SUCCESS)
{
static const char *DRIVERKEY = "Driver";
static const char DRIVERKEY[] = "Driver";
if ((reg_ret = RegQueryValueExA (hDSN, DRIVERKEY,
NULL, NULL, NULL, NULL))
== ERROR_FILE_NOT_FOUND)
......@@ -2108,7 +2108,7 @@ SQLRETURN WINAPI SQLSetScrollOptions(
static int SQLColAttributes_KnownStringAttribute(SQLUSMALLINT fDescType)
{
static SQLUSMALLINT attrList[] =
static const SQLUSMALLINT attrList[] =
{
SQL_COLUMN_OWNER_NAME,
SQL_COLUMN_QUALIFIER_NAME,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment