Bug 10676 - error: ‘lookahead’ undeclared (first use in this function)
Summary: error: ‘lookahead’ undeclared (first use in this function)
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-24 14:23 UTC by larissanadja
Modified: 2018-08-06 11:46 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.