mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
clearer messages for warning about unused functions
This commit is contained in:
parent
5ca0bb79c8
commit
a120bcd7d7
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ UsageAnalyzer::UsageAnalyzer(std::vector<FuncInfo>& funcs)
|
|||
|
||||
auto loc = id->GetLocationInfo();
|
||||
|
||||
id->Warn("function does not have any callers");
|
||||
id->Warn("non-exported function does not have any callers");
|
||||
|
||||
// Unlike for events/hooks above, we don't add the function to
|
||||
// the reachables. This is because an orphan function is a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue