Skip to content

Commit

Permalink
Add SentinelFilter case to defeat gcc warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
rmagick committed Jan 20, 2008
1 parent adbd9d4 commit ae0ecf6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ext/RMagick/rmutil.c
@@ -1,4 +1,4 @@
/* $Id: rmutil.c,v 1.145 2008/01/19 16:22:25 rmagick Exp $ */
/* $Id: rmutil.c,v 1.146 2008/01/20 17:29:42 rmagick Exp $ */
/*============================================================================\
| Copyright (C) 2008 by Timothy P. Hunter
| Name: rmutil.c
Expand Down Expand Up @@ -1494,6 +1494,11 @@ FilterTypes_name(FilterTypes type)
#endif
#if defined(HAVE_ENUM_BARTLETTFILTER)
ENUM_TO_NAME(BartlettFilter)
#endif
#if defined(HAVE_ENUM_SENTINELFILTER)
// not a real filter name - defeat gcc warning message
case SentinelFilter:
break;
#endif
}

Expand Down

0 comments on commit ae0ecf6

Please sign in to comment.