From: Guus Sliepen Date: Fri, 2 Apr 2021 19:00:36 +0000 (+0200) Subject: Fix a compiler warning. X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=5185d25ea3d8c5fde58786a099115073f2d62d51;p=meshlink Fix a compiler warning. Clang doesn't like trailing commas in enums when compiling C++ code if no -std= flag is passed. --- diff --git a/src/meshlink.h b/src/meshlink.h index cc18bec0..3e372865 100644 --- a/src/meshlink.h +++ b/src/meshlink.h @@ -87,7 +87,7 @@ typedef enum { typedef enum { MESHLINK_STORAGE_ENABLED, ///< Store all updates. MESHLINK_STORAGE_DISABLED, ///< Don't store any updates. - MESHLINK_STORAGE_KEYS_ONLY, ///< Only store updates when a node's key has changed. + MESHLINK_STORAGE_KEYS_ONLY ///< Only store updates when a node's key has changed. } meshlink_storage_policy_t; /// Invitation flags