From 5a8294045289a7afff85935935ea8b231c3f49a7 Mon Sep 17 00:00:00 2001 From: YoongHM Date: Tue, 29 Sep 2020 22:10:54 +0800 Subject: Fix compilation warnings in Lua and jemalloc dependencies (#7785) - The argument `u` in for `ar` is ignored (and generates warnings since `D` became the default. All it does is avoid updating unchanged objects (shouldn't have any impact on our build) - Enable `LUA_USE_MKSTEMP` to force the use of `mkstemp()` instead of `tmpname()` (which is dead code in redis anyway). - Remove unused variable `c` in `f_parser()` - Removed misleadingly indented space in `luaL_loadfile()` and ``addfield()` Co-authored-by: Oran Agra --- deps/jemalloc/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deps') diff --git a/deps/jemalloc/configure.ac b/deps/jemalloc/configure.ac index 261d81c00..f867172f7 100644 --- a/deps/jemalloc/configure.ac +++ b/deps/jemalloc/configure.ac @@ -517,7 +517,7 @@ CTARGET='-o $@' LDTARGET='-o $@' TEST_LD_MODE= EXTRA_LDFLAGS= -ARFLAGS='crus' +ARFLAGS='crs' AROUT=' $@' CC_MM=1 -- cgit v1.2.1