From 52a68ea2f3279adac47cf82bd1c9ea64524e8929 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 12 Jul 2011 11:00:27 +0000 Subject: [PATCH] Reacted on warning of cppcheck about cdrskin/cleanup.c --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/cdrskin/cleanup.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 e234de93..b856a7e5 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.07.12.095936" +#define Cdrskin_timestamP "2011.07.12.105955" diff --git a/libburn/trunk/cdrskin/cleanup.c b/libburn/trunk/cdrskin/cleanup.c index fc923830..f524502f 100644 --- a/libburn/trunk/cdrskin/cleanup.c +++ b/libburn/trunk/cdrskin/cleanup.c @@ -200,9 +200,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);