diff --git a/CHANGELOG.md b/CHANGELOG.md index d3ba4cc2..1e876cec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,10 @@ Releases This high level changelog is usually updated when a release is tagged. On the master branch there may be changes that are not (yet) described here. +### 1.22.1 + +* [-] do not advertise we talk compressed HTTP - we don't + ### 1.22.0 * [-] make sure Homebrew packages for macOS are built with --enable-legacy-pppd diff --git a/configure.ac b/configure.ac index 670ca6db..81ed3247 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.63]) -AC_INIT([openfortivpn], [1.22.0]) +AC_INIT([openfortivpn], [1.22.1]) AC_CONFIG_SRCDIR([src/main.c]) AM_INIT_AUTOMAKE([foreign subdir-objects]) @@ -85,9 +85,6 @@ semaphore.h \ util.h \ ]) -# Checks for optional header files with prerequisites of other headers. -AC_CHECK_HEADERS([net/if_var.h],[],[],[#include ],[#include ]) - # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_C_INLINE diff --git a/tests/ci/checkpatch/checkpatch.pl b/tests/ci/checkpatch/checkpatch.pl index 9c4c4a61..2b812210 100644 --- a/tests/ci/checkpatch/checkpatch.pl +++ b/tests/ci/checkpatch/checkpatch.pl @@ -6040,6 +6040,12 @@ sub process { CHK("MACRO_ARG_PRECEDENCE", "Macro argument '$arg' may be better as '($arg)' to avoid precedence issues\n" . "$herectx"); } + +# check if this is an unused argument + if ($define_stmt !~ /\b$arg\b/) { + WARN("MACRO_ARG_UNUSED", + "Argument '$arg' is not used in function-like macro\n" . "$herectx"); + } } # check for macros with flow control, but without ## concatenation diff --git a/tests/ci/checkpatch/const_structs.checkpatch b/tests/ci/checkpatch/const_structs.checkpatch index fa96cfd1..52e5bfb6 100644 --- a/tests/ci/checkpatch/const_structs.checkpatch +++ b/tests/ci/checkpatch/const_structs.checkpatch @@ -39,6 +39,7 @@ kgdb_arch kgdb_io kobj_type kset_uevent_ops +lcd_ops lock_manager_operations machine_desc microcode_ops