]> git.meshlink.io Git - meshlink/commitdiff
Fix a compiler warning.
authorGuus Sliepen <guus@meshlink.io>
Fri, 2 Apr 2021 19:00:36 +0000 (21:00 +0200)
committerGuus Sliepen <guus@meshlink.io>
Thu, 15 Apr 2021 18:30:51 +0000 (20:30 +0200)
Clang doesn't like trailing commas in enums when compiling C++ code if no
-std= flag is passed.

src/meshlink.h

index cc18bec037841b54bcc253c0ce0c873749c98595..3e3728652143e356f253f1bcde6a1acc16190aeb 100644 (file)
@@ -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