From 0c0a65ae031452a7ee3dc8c9922af6b885626f4b 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 --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/sg-linux.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index e259daa8..e56cc831 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.07.07.114911" +#define Cdrskin_timestamP "2011.07.07.115006" diff --git a/libburn/trunk/libburn/sg-linux.c b/libburn/trunk/libburn/sg-linux.c index dcfcbf86..ba62878e 100644 --- a/libburn/trunk/libburn/sg-linux.c +++ b/libburn/trunk/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