[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7961) [LMDB] remove logically dead code (2nd)

Full_Name: Jean-Christophe Dubois
Version: 2.4.40
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

In function mdb_txn_begin() at line 2672 there is a check for the parent

The same check is done few lines earlier (line 2665) and if the condition was
met the program would have skip the all section to ok:

So code line 2673 can never be reached. It could be removed.

Patch available at URL below: