diff options
Diffstat (limited to 'gprofng/testsuite/gprofng.display/synprog/synprog.c')
-rw-r--r-- | gprofng/testsuite/gprofng.display/synprog/synprog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gprofng/testsuite/gprofng.display/synprog/synprog.c b/gprofng/testsuite/gprofng.display/synprog/synprog.c index cf1bc5b..05920dc 100644 --- a/gprofng/testsuite/gprofng.display/synprog/synprog.c +++ b/gprofng/testsuite/gprofng.display/synprog/synprog.c @@ -528,14 +528,14 @@ reapchildren () int doabort (int k) { - char *nullptr = NULL; + char *p = NULL; char c; /* Log the event */ wlog ("start of doabort", NULL); /* and dereference a NULL */ - c = *nullptr; + c = *p; /* this should never be reached */ return (int) c; |