pdb: always set header to PDB enums, even when empty.

This fixes the following warning when generating gimpenums.h:

> Use of uninitialized value in pattern match (m//) at pdb/enumcode.pl line 71.
This commit is contained in:
Jehan 2024-11-18 01:54:32 +09:00
parent 054821b172
commit 0b792c22a4
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ package Gimp::CodeGen::enums;
%enums = (
GeglDistanceMetric =>
{ contig => 1,
header => '',
external => 1,
symbols => [ qw(GEGL_DISTANCE_METRIC_EUCLIDEAN
GEGL_DISTANCE_METRIC_MANHATTAN