diff options
author | Jia Zhang <qianyue.zj@alibaba-inc.com> | 2017-10-28 02:14:01 -0400 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2017-10-28 14:42:40 +0200 |
commit | 038d1385d424bafab4c6e5e8305b6ed3121ef4e9 (patch) | |
tree | aa9b058c43fbf83fbd93a841c3fe3ed6cf99a816 /m4/duplocale.m4 | |
parent | 33a9adc3a26269f5e592eae88d718b730162d868 (diff) | |
download | gnulib-038d1385d424bafab4c6e5e8305b6ed3121ef4e9.tar.gz |
gc-libgcrypt: fix undefined enum type in switch statement
Resolve the following build failure:
lib/gc-libgcrypt.c: In function 'gc_hash_open':
lib/gc-libgcrypt.c:317:5: error: case value '0' not in enumerated type
'Gc_hash_mode {aka enum Gc_hash_mode}' [-Werror=switch]
case 0:
^~~~
* lib/gc.h (enum Gc_hash_mode): Add value GC_NULL.
* lib/gc-libgcrypt.c (gc_hash_open): Use this enum value instead of 0.
Signed-off-by: Jia Zhang <qianyue.zj@alibaba-inc.com>
Diffstat (limited to 'm4/duplocale.m4')
0 files changed, 0 insertions, 0 deletions