From 2d8047afcfc833f9604797d216d1965b9785c170 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 7 Jul 2011 11:50:34 +0000 Subject: [PATCH] Silenced warning of cppcheck --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/sg-linux.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index e259daa..e56cc83 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.07.07.114911" +#define Cdrskin_timestamP "2011.07.07.115006" diff --git a/libburn/sg-linux.c b/libburn/sg-linux.c index dcfcbf8..ba62878 100644 --- a/libburn/sg-linux.c +++ b/libburn/sg-linux.c @@ -1775,7 +1775,8 @@ int sg_obtain_scsi_adr(char *path, int *bus_no, int *host_no, int *channel_no, struct my_scsi_idlun idlun; /* valgrind called idlun unitialized because it is blind for ioctl */ - memset(&idlun, 0, sizeof(struct my_scsi_idlun)); + idlun.x = 0; + idlun.host_unique_id = 0; l = strlen(linux_ata_device_family) - 2; if (l > 0 && strncmp(path, linux_ata_device_family, l) == 0