Bug 10666

Summary: coreutils/od_bloaty.c:1374:7: error: ā€˜i’ undeclared (first use in this function)
Product: Busybox Reporter: larissanadja
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description larissanadja 2018-01-22 14:09:59 UTC
Use of undeclared variable.

When the DEBUG macro is enabled, the code bellow is compiled. However, there is no declaration of 'i'.

coreutils/od_bloaty.c:1374:7: error: ā€˜i’ undeclared (first use in this function)
  for (i = 0; i < G.n_specs; i++) {
       ^
Comment 1 Denys Vlasenko 2018-01-23 13:49:40 UTC
Fixed in git, thanks