[freetds] [PATCH] Invalid gmtime() call
Andrew Victor
avictor.za at gmail.com
Tue Aug 26 06:41:07 EDT 2008
hi,
There is an invalid / unnecessary call to gmtime() in cs_dt_crack().
The input parameter 'time_t tmp_secs_from_epoch' is never initialized,
and result 'struct tm* t' is never used.
So the gmtime() call and variables can just be removed.
Regards,
Andrew Victor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bad_gmtime.patch
Type: text/x-patch
Size: 572 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20080826/68e583c7/attachment.bin
More information about the FreeTDS
mailing list