Reacted on compiler warnings about uninitialized variables

1.0.2
Thomas Schmitt 12 years ago
parent 4f5075d7a9
commit 952c9b0432
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 4
      libburn/drive.c

@ -1 +1 @@
#define Cdrskin_timestamP "2011.02.09.114311"
#define Cdrskin_timestamP "2011.02.14.085951"

@ -1360,9 +1360,9 @@ static int burn_drive__is_rdwr(char *fname, int *stat_ret,
struct stat *stbuf_ret,
off_t *read_size_ret, int flag)
{
int fd, is_rdwr, ret, getfl_ret, st_ret;
int fd, is_rdwr = 1, ret, getfl_ret, st_ret;
struct stat stbuf;
off_t read_size;
off_t read_size = 0;
memset(&stbuf, 0, sizeof(stbuf));
fd = burn_drive__fd_from_special_adr(fname);

Loading…
Cancel
Save