Silenced warning of cppcheck

1.1.4
Thomas Schmitt 12 years ago
parent 781beb3a27
commit 2d8047afcf
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 3
      libburn/sg-linux.c

@ -1 +1 @@
#define Cdrskin_timestamP "2011.07.07.114911"
#define Cdrskin_timestamP "2011.07.07.115006"

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

Loading…
Cancel
Save