udf_time.c: make sure offset is initialzed (Darwin doesn'thave TIMEZONE var).

.cvsignore: add .gdb_history
This commit is contained in:
rocky
2006-02-13 01:59:28 +00:00
parent 5ecb11e6cb
commit 9c72d5971f
3 changed files with 3 additions and 1 deletions

View File

@@ -156,7 +156,7 @@ udf_timespec_to_stamp(const struct timespec ts, udf_timestamp_t *dest)
{
long int days, rem, y;
const unsigned short int *ip;
int16_t offset;
int16_t offset = 0;
int16_t tv_sec;
#ifdef HAVE_TIMEZONE_VAR