Skip to content

Commit 0746619

Browse files
committed
Move variable near the place it belongs
1 parent 148c2e9 commit 0746619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

legacy/builder/container_find_includes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,6 @@ func findIncludesUntilDone(ctx *types.Context, cache *includeCache, sourceFileQu
333333

334334
first := true
335335
for {
336-
var missingIncludeH string
337336
cache.ExpectFile(sourcePath)
338337

339338
includeFolders := ctx.IncludeFolders
@@ -355,6 +354,7 @@ func findIncludesUntilDone(ctx *types.Context, cache *includeCache, sourceFileQu
355354
var preprocErr error
356355
var preprocStderr []byte
357356

357+
var missingIncludeH string
358358
if unchanged && cache.valid {
359359
missingIncludeH = cache.Next().Include
360360
if first && ctx.Verbose {

0 commit comments

Comments
 (0)