We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nullptr
1 parent 946b687 commit 47c51caCopy full SHA for 47c51ca
examples/tests/crash_dummy/main.c
@@ -2,12 +2,12 @@
2
3
#include <libtock/interface/button.h>
4
5
-volatile int* nullptr = 0;
+volatile int* zeroptr = 0;
6
7
static void button_callback(__attribute__ ((unused)) returncode_t ret,
8
__attribute__ ((unused)) int btn_num,
9
__attribute__ ((unused)) bool val) {
10
- __attribute__ ((unused)) volatile int k = *nullptr;
+ __attribute__ ((unused)) volatile int k = *zeroptr;
11
}
12
13
int main(void) {
0 commit comments