From b158af4faa4e531d1bf33732d521013808e71ef8 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 12 Jul 2011 11:02:47 +0000 Subject: [PATCH] Reacted on warning of cppcheck about libburn/cleanup.c --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/cleanup.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 4a11e85a..55f668b0 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.07.12.110131" +#define Cdrskin_timestamP "2011.07.12.110223" diff --git a/libburn/trunk/libburn/cleanup.c b/libburn/trunk/libburn/cleanup.c index f80e7492..c52bf44e 100644 --- a/libburn/trunk/libburn/cleanup.c +++ b/libburn/trunk/libburn/cleanup.c @@ -1,5 +1,5 @@ /* - cleanup.c , Copyright 2006 Thomas Schmitt + cleanup.c , Copyright 2006 - 2011 Thomas Schmitt A signal handler which cleans up an application and exits. @@ -205,9 +205,10 @@ main() Cleanup_set_handlers(&demoapp,(Cleanup_app_handler_T) Demo_app_handler,0); if(1) { /* change to 0 in order to wait for external signals */ - char *cpt= NULL,c; + char *cpt= NULL, c= ' '; printf("Intentionally provoking SIGSEGV ...\n"); c= *cpt; + printf("Strange: The system ignored a SIGSEGV: c= %u\n", (unsigned int) c); } else { printf("killme: %d\n",getpid()); sleep(3600);