Page 1 of 1

[patch_done] Fix some warnings on v6.6.4 stable

Posted: 02.11.2008, 04:36
by Faceker
Fix warnings below:

[DCC Warning] ZGenericSqlAnalyser.pas(637): H2077 Value assigned to 'CurrentType' never used
[DCC Warning] ZDbcMetadata.pas(2628): H2164 Variable 'IndexName' is declared but never used in 'TZAbstractDatabaseMetadata.GetBestRowIdentifier'
[DCC Warning] ZDbcMetadata.pas(2629): H2164 Variable 'ColumnNames' is declared but never used in 'TZAbstractDatabaseMetadata.GetBestRowIdentifier'
[DCC Warning] ZDbcMetadata.pas(3371): H2164 Variable 'Key' is declared but never used in 'TZAbstractDatabaseMetadata.UncachedGetCrossReference'
[DCC Warning] ZDbcConnection.pas(763): W1035 Return value of function 'TZAbstractConnection.PingServer' might be undefined
[DCC Warning] ZDbcSqLite.pas(311): H2164 Variable 'ErrorMessage' is declared but never used in 'TZSQLiteConnection.Key'
[DCC Warning] ZDbcSqLite.pas(326): H2164 Variable 'ErrorMessage' is declared but never used in 'TZSQLiteConnection.ReKey'
[DCC Warning] ZAbstractRODataset.pas(341): W1000 Symbol 'PSGetTableName' is deprecated
[DCC Warning] ZAbstractRODataset.pas(342): W1000 Symbol 'PSGetQuoteChar' is deprecated
[DCC Warning] ZAbstractRODataset.pas(351): W1000 Symbol 'PSGetKeyFields' is deprecated
[DCC Warning] ZAbstractRODataset.pas(2983): W1000 Symbol 'PSGetKeyFields' is deprecated
[DCC Warning] ZConnection.pas(1222): H2077 Value assigned to 'TZConnection.ExecuteDirect' never used

Posted: 02.11.2008, 14:19
by mdaems
Thanks for the patch, Faceker.

As you'll notice in the SVN repository : the patches are applied and will be included in 6.6.5.

Keep up the good work!

Mark