# HG changeset patch # User Paul Boddie # Date 1666480316 -7200 # Node ID 16efb99d0a1b6383f4d0edfa1c303d66fbe15a8e # Parent a3e0ab0227022a0baa5513f6be1f4e634ea670d7 Fixed missing result code initialisation, applicable to empty paths. diff -r a3e0ab022702 -r 16efb99d0a1b libe2access/lib/src/image.c --- a/libe2access/lib/src/image.c Sun Oct 23 00:42:08 2022 +0200 +++ b/libe2access/lib/src/image.c Sun Oct 23 01:11:56 2022 +0200 @@ -238,7 +238,7 @@ ext2_ino_t *ino) { ext2_ino_t ino_dir; - errcode_t retval; + errcode_t retval = 0; /* Initialise the inode in case of early failure. */