From 8f0c9c28121daad5b9441e51aa19e42d67b0e08b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 12 Feb 2024 21:28:04 +0000 Subject: codesearch: generate_cxx: drop unused variables We are just using the odd ref+deref (`${\...}') syntax and don't need to calculate line numbers ourselves, nowadays. --- lib/PublicInbox/CodeSearch.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/PublicInbox/CodeSearch.pm b/lib/PublicInbox/CodeSearch.pm index 48697cdc..1f95a726 100644 --- a/lib/PublicInbox/CodeSearch.pm +++ b/lib/PublicInbox/CodeSearch.pm @@ -101,7 +101,6 @@ sub qparse_new ($) { } sub generate_cxx () { # generates snippet for xap_helper.h - my ($line, $file) = (__LINE__ + 2, __FILE__); my $ret = <