Skip to content

Commit 2493a48

Browse files
committed
Remove unused var and conditional
Fixes #1130
1 parent c3f1dad commit 2493a48

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

htmlify.p6

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -957,12 +957,8 @@ sub write-qualified-method-call(:$name!, :$pod!, :$type!) {
957957
spurt "html/routine/{escape-filename $type}.{escape-filename $name}.html", p2h($p, 'routine');
958958
}
959959

960-
sub highlight-code-blocks(:$no-proc-async = False, :$use-highlights = False) {
960+
sub highlight-code-blocks(:$no-proc-async = False) {
961961
say "highlight-code-blocks has been called";
962-
if $use-highlights {
963-
note "Using highlights";
964-
#return;
965-
}
966962
%*POD2HTML-CALLBACKS = code => sub (:$node, :&default) {
967963
for @($node.contents) -> $c {
968964
if $c !~~ Str {

0 commit comments

Comments
 (0)