Opened 15 years ago
Closed 15 years ago
#3402 closed enhancement (fixed)
Fix CPLError calls in odbc routines to use a static string as first argument
Reported by: | gaige | Owned by: | gaige |
---|---|---|---|
Priority: | normal | Milestone: | 1.7.2 |
Component: | default | Version: | svn-trunk |
Severity: | minor | Keywords: | odbc |
Cc: | warmerdam |
Description
Correct the use of an initial non-static string argument in printf-style calls to CPLDebug and CPLError:
port/cpl_odbc.cpp 110c110 < CPLDebug( "ODBC", pszEnvIni ); --- > CPLDebug( "ODBC", "%s", pszEnvIni ); 678c678 < CPLError( CE_Failure, CPLE_AppDefined, --- > CPLError( CE_Failure, CPLE_AppDefined, "%s", 691c691 < CPLError( CE_Failure, CPLE_AppDefined, --- > CPLError( CE_Failure, CPLE_AppDefined, "%s", 723c723 < CPLError( CE_Failure, CPLE_AppDefined, --- > CPLError( CE_Failure, CPLE_AppDefined, "%s", 764c764 < CPLError( CE_Failure, CPLE_AppDefined, --- > CPLError( CE_Failure, CPLE_AppDefined, "%s",
Change History (3)
comment:1 by , 15 years ago
Cc: | added |
---|---|
Keywords: | odbc added |
Owner: | changed from | to
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Chaitanya,
Please review and apply.