From 69b282a5ba5a44d56de105fc9f748c768bf9f7ea Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 20 Jun 2014 14:53:11 +0000 Subject: [PATCH] Reacted on compiler warning of gcc on NetBSD-current --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/sg-netbsd.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 881219c..f525ff6 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2014.06.10.130721" +#define Cdrskin_timestamP "2014.06.20.145224" diff --git a/libburn/sg-netbsd.c b/libburn/sg-netbsd.c index 691b3b8..917e00f 100644 --- a/libburn/sg-netbsd.c +++ b/libburn/sg-netbsd.c @@ -730,7 +730,7 @@ int burn_os_is_2k_seekrw(char *path, int flag) { struct stat stbuf; int l, i, dev, tl; - char try[16], *cpt; + char try[16]; /* >>> ??? Is this a comprehensive list of lseek()-capable devices ? */ /* http://www.netbsd.org/docs/guide/en/chap-rmmedia.html */ @@ -755,7 +755,6 @@ int burn_os_is_2k_seekrw(char *path, int flag) tl = strlen(try); if (strncmp(path, try, tl) != 0) continue; - cpt = path + tl; l -= tl; for (i = 0; i < Libburn_netbsd_max_cdnuM; i++) { sprintf(try + tl, "%d", i);