20 months ago | Paul Boddie | raw files shortlog changelog graph | Fixed missing result code initialisation, applicable to empty paths. | |
libe2access/lib/src/image.c (file) |
1.1 --- a/libe2access/lib/src/image.c Sun Oct 23 00:42:08 2022 +0200 1.2 +++ b/libe2access/lib/src/image.c Sun Oct 23 01:11:56 2022 +0200 1.3 @@ -238,7 +238,7 @@ 1.4 ext2_ino_t *ino) 1.5 { 1.6 ext2_ino_t ino_dir; 1.7 - errcode_t retval; 1.8 + errcode_t retval = 0; 1.9 1.10 /* Initialise the inode in case of early failure. */ 1.11