Skip to content

Commit

Permalink
Merge branch 'master' into darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos authored Jun 3, 2024
2 parents 2188154 + 5155b2d commit eedcda6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down Expand Up @@ -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 <sys/socket.h>],[#include <net/if.h>])

# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE
Expand Down
6 changes: 6 additions & 0 deletions tests/ci/checkpatch/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tests/ci/checkpatch/const_structs.checkpatch
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ kgdb_arch
kgdb_io
kobj_type
kset_uevent_ops
lcd_ops
lock_manager_operations
machine_desc
microcode_ops
Expand Down

0 comments on commit eedcda6

Please sign in to comment.