• Kir Kolyshkin's avatar
    zombie00 test: fix for clang · a95939c0
    Kir Kolyshkin authored
    CLang doesn't like explicit NULL pointer dereference:
    
    > zombie00.c:52:5: error: indirection of non-volatile null pointer will be
    > deleted, not trap [-Werror,-Wnull-dereference]
    >                                 *(int *)NULL = 0;
    >                                 ^~~~~~~~~~~~
    > zombie00.c:52:5: note: consider using __builtin_trap() or qualifying
    > pointer with 'volatile'
    > 1 error generated.
    
    Apparently, we need to add volatile to make it happy.
    Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    a95939c0
Name
Last commit
Last update
..
lib Loading commit data...
static Loading commit data...
transition Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
Makefile.inc Loading commit data...