Reacted on compiler warnings about uninitialized variables

This commit is contained in:
Thomas Schmitt 2011-02-14 08:59:42 +00:00
parent 4f5075d7a9
commit 952c9b0432
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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);