[patch_done] Fix some warnings on v6.6.4 stable

Code patches written by our users to solve certain "problems" that were not solved, yet.

Moderators: gto, cipto_kh, EgonHugeist, mdaems

Post Reply
Faceker
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: 04.10.2008, 14:56

[patch_done] Fix some warnings on v6.6.4 stable

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post 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
Image
Post Reply