Skip to content

Commit 846f4c0

Browse files
committed
DisplayServer (Linux): silence compiler errors
1 parent dc5f2ac commit 846f4c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/detection/displayserver/linux/xcb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ typedef struct XcbPropertyData
2626
FF_LIBRARY_SYMBOL(xcb_get_atom_name_reply)
2727
} XcbPropertyData;
2828

29-
static bool xcbInitPropertyData(void* libraryHandle, XcbPropertyData* propertyData)
29+
static bool xcbInitPropertyData(FF_MAYBE_UNUSED void* libraryHandle, XcbPropertyData* propertyData)
3030
{
3131
FF_LIBRARY_LOAD_SYMBOL_PTR(libraryHandle, propertyData, xcb_intern_atom, false)
3232
FF_LIBRARY_LOAD_SYMBOL_PTR(libraryHandle, propertyData, xcb_intern_atom_reply, false)

src/detection/displayserver/linux/xlib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ typedef struct X11PropertyData
1717
FF_LIBRARY_SYMBOL(XFree)
1818
} X11PropertyData;
1919

20-
static bool x11InitPropertyData(void* libraryHandle, X11PropertyData* propertyData)
20+
static bool x11InitPropertyData(FF_MAYBE_UNUSED void* libraryHandle, X11PropertyData* propertyData)
2121
{
2222
FF_LIBRARY_LOAD_SYMBOL_PTR(libraryHandle, propertyData, XInternAtom, false)
2323
FF_LIBRARY_LOAD_SYMBOL_PTR(libraryHandle, propertyData, XGetWindowProperty, false)

0 commit comments

Comments
 (0)