The warning should not be produced by cppcheck as nested_sp is assigned
to nested_sp_fn variable.
* tools/setjmp_t.c [CPPCHECK] (main): Call nested_sp() directly; add
comment.
sp = (word)(&sp);
printf("This appears to be a %s running %s\n", MACH_TYPE, OS_TYPE);
+# if defined(CPPCHECK)
+ (void)nested_sp(); /* to workaround a bug in cppcheck */
+# endif
if (nested_sp_fn() < sp) {
printf("Stack appears to grow down, which is the default.\n");
printf("A good guess for STACKBOTTOM on this machine is 0x%lx.\n",