• Kir Kolyshkin's avatar
    maps007 test: fix for clang · f18fce45
    Kir Kolyshkin authored
    CLang doesn't like explicit NULL pointer dereference:
    > maps007.c:176:2: error: indirection of non-volatile null pointer will be deleted, not trap [-Werror,-Wnull-dereference]
    >         *((int *) 0) = 0;
    >         ^~~~~~~~~~~~
    > maps007.c:176:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile'
    >
    
    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>
    f18fce45
Name
Last commit
Last update
..
inhfd Loading commit data...
jenkins Loading commit data...
others Loading commit data...
zdtm Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
abrt.sh Loading commit data...
check_actions.py Loading commit data...
crit-recode.py Loading commit data...
criu.py Loading commit data...
groups.desc Loading commit data...
inhfd.desc Loading commit data...
rpc_pb2.py Loading commit data...
show_action.sh Loading commit data...
umount2.c Loading commit data...
zdtm.desc Loading commit data...
zdtm.py Loading commit data...
zdtm_ct.c Loading commit data...
zdtm_mount_cgroups Loading commit data...