From beda03184afe46d6702e6e184c42e8fcf5691386 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Thu, 22 Dec 2011 21:26:33 -0800 Subject: feature.h: Avoid compiler warning unsigned >= 0 produces a warning, even if the 0 is actually a macro. --- regen/feature.pl | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'regen/feature.pl') diff --git a/regen/feature.pl b/regen/feature.pl index cf3ba35d53..8ccc2d5ec1 100755 --- a/regen/feature.pl +++ b/regen/feature.pl @@ -239,7 +239,18 @@ for ( my $name = $feature{$_} # skip "no" || ($default = '_d', substr $default_feature{$_}, 2); my $NAME = uc $name; - if ($last) { + if ($last && $first eq 'DEFAULT') { # ‘>= DEFAULT’ warns + print $h <