Bug 10676

Summary: error: ‘lookahead’ 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-24 14:23:31 UTC
Use of undeclared variable

The variable lookahead is undeclared in the code bellow. Maybe it should be G1.looakhead.

archival/gzip.c:1903:37: error: ‘lookahead’ undeclared (first use in this function)
   Assert(G1.strstart <= G1.isize && lookahead <= G1.isize, "a bit too far");
Comment 1 Denys Vlasenko 2018-01-25 23:22:29 UTC
Fixed in git.