From c57cad658d43973bc1f0609649ef90b104262d75 Mon Sep 17 00:00:00 2001 From: Lipraxde Date: Thu, 24 Mar 2022 23:58:29 +0800 Subject: CMake: remove dict.c form hiredis_sources Commit c6b8bd77c0fe00dbc455b39208f15761178160a3 to make all functions in dict.c static. If a CMake project set warning unused functions, and include hiredis using add_subdirectory , this cause warnings / errors. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f77dfd5..4cc5f33 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,6 @@ SET(ENABLE_EXAMPLES OFF CACHE BOOL "Enable building hiredis examples") SET(hiredis_sources alloc.c async.c - dict.c hiredis.c net.c read.c -- cgit v1.2.3