It's not used anywhere since the IMAPTracker object doesn't
disconnect and reconnect.  If we ever need the filename,
{dbh}->sqlite_db_filename may be used.

Cc: Eric W. Biederman <[email protected]>
---
 lib/PublicInbox/IMAPTracker.pm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/PublicInbox/IMAPTracker.pm b/lib/PublicInbox/IMAPTracker.pm
index 26274568b9c..0bbabe07fae 100644
--- a/lib/PublicInbox/IMAPTracker.pm
+++ b/lib/PublicInbox/IMAPTracker.pm
@@ -69,8 +69,7 @@ sub new {
                File::Path::mkpath(File::Basename::dirname($dbname));
        }
 
-       my $dbh = dbh_new($dbname);
-       bless { dbname => $dbname, url => $url, dbh => $dbh }, $class;
+       bless { url => $url, dbh => dbh_new($dbname) }, $class;
 }
 
 1;
--
unsubscribe: one-click, see List-Unsubscribe header
archive: https://public-inbox.org/meta/

Reply via email to