From 5dcb3589b3407875f28f6eba2f6f448182cf1b6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 12 Dec 2014 08:43:16 +0100 Subject: [PATCH] Exclude some krazy checks which do not make sense for KWayland This software is not portable. We don't need krazy checks telling us that we should use Qt's portable types. --- src/wayland/keyboard_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/keyboard_interface.cpp b/src/wayland/keyboard_interface.cpp index b649b2429d..ed2d233896 100644 --- a/src/wayland/keyboard_interface.cpp +++ b/src/wayland/keyboard_interface.cpp @@ -91,7 +91,7 @@ void KeyboardInterface::Private::sendKeymap() if (seat->isKeymapXkbCompatible()) { sendKeymap(seat->keymapFileDescriptor(), seat->keymapSize()); } else { - int nullFd = open("/dev/null", O_RDONLY); + int nullFd = open("/dev/null", O_RDONLY); // krazy:exclude=syscalls wl_keyboard_send_keymap(resource, WL_KEYBOARD_KEYMAP_FORMAT_NO_KEYMAP, nullFd, 0); close(nullFd); }