Skip to content

Commit

Permalink
Suppress autoload warnings from the cross referencer.
Browse files Browse the repository at this point in the history
  • Loading branch information
JanWielemaker committed Oct 24, 2023
1 parent d5c6e90 commit 307d1a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions boot/autoload.pl
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,7 @@

warn_autoload(TargetModule, PI) :-
current_prolog_flag(warn_autoload, true),
\+ current_prolog_flag(xref, true),
\+ nb_current('$autoload_warning', true),
'$pi_head'(PI, Head),
source_file(Head, File),
Expand Down

0 comments on commit 307d1a0

Please sign in to comment.