4 ms·
A classic case for static analyzers. Clang with -Wall gives you: int.c:3:12: warning: indirection of non-volatile null pointer will be deleted, not t
by technion 11y ago
A classic case for static analyzers. Clang with -Wall gives you:
int.c:3:12: warning: indirection of non-volatile null pointer will be deleted,
not trap [-Wnull-dereference]
Much better, scan-build:
int.c:3:12: warning: Dereference of null pointer
return *(int*)0;