From e5639686959b448f80a58f9d7716f7ef021ccf52 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 12 Jul 2011 17:38:01 +0000 Subject: [PATCH] Reacted on warning of cppcheck about libburn/sg-solaris.c --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/sg-solaris.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 6bdb8573..5c235a8b 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.07.12.155417" +#define Cdrskin_timestamP "2011.07.12.173727" diff --git a/libburn/trunk/libburn/sg-solaris.c b/libburn/trunk/libburn/sg-solaris.c index 261b7342..cf966ea5 100644 --- a/libburn/trunk/libburn/sg-solaris.c +++ b/libburn/trunk/libburn/sg-solaris.c @@ -785,13 +785,11 @@ int burn_os_stdio_capacity(char *path, off_t *bytes) #endif char *testpath = NULL, *cpt; - long blocks; off_t add_size = 0; BURN_ALLOC_MEM(testpath, char, 4096); testpath[0] = 0; - blocks = *bytes / 512; if (stat(path, &stbuf) == -1) { strcpy(testpath, path); cpt = strrchr(testpath, '/');