Skip to content

Commit f113875

Browse files
committed
embed.pl: Move declaration closer to first use
1 parent fc31155 commit f113875

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

regen/embed.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ sub generate_proto_h {
162162
}
163163

164164
my @nonnull;
165-
my $args_assert_line = ( $flags !~ /m/ );
166165
my $has_depth = ( $flags =~ /W/ );
167166
my $has_context = ( $flags !~ /T/ );
168167
my $never_returns = ( $flags =~ /r/ );
@@ -204,6 +203,8 @@ sub generate_proto_h {
204203
if $flags =~ /u/;
205204
}
206205

206+
my $args_assert_line = ( $flags !~ /m/ );
207+
207208
my ($static_flag, @extra_static_flags)= $flags =~/([SsIi])/g;
208209

209210
if (@extra_static_flags) {

0 commit comments

Comments
 (0)