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:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user