Bug 10691

Summary: error: ‘spec’ 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-26 13:03:16 UTC
Use of undeclared variable

The code bellow is compiled when the macro DEBUG is enabled. However, the variable 'spec' is undeclared. 

coreutils/od_bloaty.c:1376:7: error: ‘spec’ undeclared (first use in this function)
    i, spec[i].fmt_string, width_bytes[spec[i].size]);
Comment 1 Denys Vlasenko 2018-01-26 13:52:46 UTC
Fixed in git.