Reacted on warning of cppcheck about cdrskin/cleanup.c
This commit is contained in:
parent
a734e868bd
commit
c11378f1a0
@ -1 +1 @@
|
||||
#define Cdrskin_timestamP "2011.07.12.095936"
|
||||
#define Cdrskin_timestamP "2011.07.12.105955"
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user