Browse Source

Rename mapping index variable for readability, NFC

Raul Silvera 9 years ago
parent
commit
fb2d76f778
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      internal/symbolizer/symbolizer.go

+ 2
- 2
internal/symbolizer/symbolizer.go View File

273
 	}
273
 	}
274
 
274
 
275
 	missingBinaries := false
275
 	missingBinaries := false
276
-	for mix, m := range prof.Mapping {
276
+	for midx, m := range prof.Mapping {
277
 		if !mappings[m] {
277
 		if !mappings[m] {
278
 			continue
278
 			continue
279
 		}
279
 		}
284
 		}
284
 		}
285
 
285
 
286
 		if m.File == "" {
286
 		if m.File == "" {
287
-			if mix == 0 {
287
+			if midx == 0 {
288
 				ui.PrintErr("Main binary filename not available.\n" +
288
 				ui.PrintErr("Main binary filename not available.\n" +
289
 					"Try passing the path to the main binary before the profile.")
289
 					"Try passing the path to the main binary before the profile.")
290
 				continue
290
 				continue