Re: warning: case value '0' not in enumerated

2015-02-07 Thread Paul Eggert
Thanks, I installed the attached slightly-different patch. >From 00b5abcff31d86a9831b586421bfe89d36dbeda9 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 7 Feb 2015 15:09:00 -0800 Subject: [PATCH] crypto/gc: fix a -Wswitch warning Reported by Bruce Korb in: http://lists.gnu.org/archive/htm

warning: case value '0' not in enumerated

2015-02-07 Thread Bruce Korb
gc-gnulib.c: In function 'gc_hash_open': gc-gnulib.c:669:5: warning: case value '0' not in enumerated type 'Gc_hash_mode' [-Wswitch] case 0: ^ diff --git a/lib/gc-gnulib.c b/lib/gc-gnulib.c index a1276c9..ee60f85 100644 --- a/lib/gc-gnulib.c +++ b/lib