danieleteti / delphiredisclient

Redis client for Delphi
Apache License 2.0
307 stars 133 forks source link

Fix hints and warnings #2

Closed fabioxgn closed 8 years ago

fabioxgn commented 8 years ago

We have a 0 hints/warnings policy in our builds and these hints and warnings were breaking it:

Redis.Command.pas(12) Hint: H2219 Private symbol 'GetBinaryRedisToken' declared but never used
Redis.Client.pas(185) Hint: H2164 Variable 'R' is declared but never used in 'TRedisClient.ClientSetName'
Redis.Client.pas(523) Warning: W1035 Return value of function 'TRedisClient.NextToken' might be undefined
Redis.Client.pas(585) Warning: W1035 Return value of function 'TRedisClient.ParseIntegerResponse' might be undefined

These changes removes all the hints and warnings. All the tests still pass.

danieleteti commented 8 years ago

Thank you