summaryrefslogtreecommitdiffstats
path: root/lib/lz4hc.c
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2018-09-13 21:29:41 (GMT)
committerYann Collet <cyan@fb.com>2018-09-13 21:29:41 (GMT)
commit86023f01f207f3561766bf33a0c3d935786ae5f9 (patch)
tree66129f7c089e4e701ce99577291910e5e00aa835 /lib/lz4hc.c
parent4a84836c132781e12bafd5f68923c2647b34e2b7 (diff)
downloadlz4-86023f01f207f3561766bf33a0c3d935786ae5f9.zip
lz4-86023f01f207f3561766bf33a0c3d935786ae5f9.tar.gz
lz4-86023f01f207f3561766bf33a0c3d935786ae5f9.tar.bz2
avoid final trailing comma for enum lists
as detected in #485 by @JoachimSchneider. Refactored the c_standards tests so that these issues get automatically detected in CI tests.
Diffstat (limited to 'lib/lz4hc.c')
-rw-r--r--lib/lz4hc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lz4hc.c b/lib/lz4hc.c
index e913ee7..87f4cdb 100644
--- a/lib/lz4hc.c
+++ b/lib/lz4hc.c
@@ -400,7 +400,7 @@ int LZ4HC_InsertAndFindBestMatch(LZ4HC_CCtx_internal* const hc4, /* Index tabl
typedef enum {
noLimit = 0,
limitedOutput = 1,
- limitedDestSize = 2,
+ limitedDestSize = 2
} limitedOutput_directive;
/* LZ4HC_encodeSequence() :