Skip to content

$tflags should be defaulted to 0 to avoid warnings about uninitialized value $tflags in bitwise #38

@annibale-x

Description

@annibale-x

https://github.com/salortiz/LMDB_File/blob/328a572c5db9c8edfa40e7269bd8d1fdf738b377/lib/LMDB_File.pm#L148C27-L148C27

As tflags are documented as optional in the costructor of LMDB::Txn ($Txn = LMDB::Txn->new ( $Env [, $tflags ] )) the $tflags constructor argument should be defaulted to 0 to avoid the tedious warning about uninitialized value in bitwise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions