chore: remove unused hashtable and dead code

Remove hashtable module and tests (unused in runtime). Remove unused
variables mycolour, direction, output_scale_factor, and dead local p.
This commit is contained in:
2026-11-08 16:34:50 +01:00
parent f6fce3e9a5
commit d1d90dfb67
6 changed files with 0 additions and 406 deletions
-19
View File
@@ -54,7 +54,6 @@ add_custom_command(
set(SOURCES
tkeyboard.c
tpointer.c
hashtable.c
toml.c
config.c
grid.c
@@ -91,25 +90,7 @@ target_compile_options(wlgol PRIVATE
add_executable(test_hashtable tests/test_hashtable.c
${SOURCES}
)
target_link_libraries(test_hashtable
wayland-client
wayland-cursor
${XKBCOMMON_LIBRARIES}
)
target_include_directories(test_hashtable
PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/include
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include
PUBLIC ${XKBCOMMON_INCLUDE_DIRS}
)
target_compile_options(test_hashtable PRIVATE
${XKBCOMMON_CFLAGS_OTHER}
)
enable_testing()
add_test(NAME Hashtable COMMAND test_hashtable)
add_executable(test_config tests/test_config.c
${SOURCES}