Bug 10681 - error: ‘verbose’ undeclared (first use in this function)
Summary: error: ‘verbose’ 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:31 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:31:28 UTC
Use of undeclared variable

When the DEBUG macro is enabled, the code bellow is compiled. However, the verbose variable is not declared.

archival/gzip.c:119:26: error: ‘verbose’ undeclared (first use in this function)
 #  define Tracev(x) {if (verbose) fprintf x; }
Comment 1 Denys Vlasenko 2018-01-25 23:22:12 UTC
Fixed in git