From: ljsebald <ljs...@us...> - 2024-01-12 04:03:36
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via 5de19ac63011e4bdb45da7b6c6bbd329f330b3dd (commit) from 76c6da9946e995f7d99133d8628fc5f87cd4b2a8 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 5de19ac63011e4bdb45da7b6c6bbd329f330b3dd Author: Falco Girgis <gyr...@gm...> Date: Thu Jan 11 21:59:06 2024 -0600 Fixed build issue with -Og for inode.c (#454) - When using debug optimization level, inode.c:1270 was issuing a warning about "dent" being used without being initialized. This warning was treated as an error. - Initialized "dent" to NULL at the beginning of the function. ----------------------------------------------------------------------- Summary of changes: addons/libkosext2fs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/libkosext2fs/inode.c b/addons/libkosext2fs/inode.c index 72193cd9..6056e32c 100644 --- a/addons/libkosext2fs/inode.c +++ b/addons/libkosext2fs/inode.c @@ -1042,7 +1042,7 @@ int ext2_inode_by_path(ext2_fs_t *fs, const char *path, ext2_inode_t **rv, int blocks, i, block_size; uint8_t *buf; uint32_t *ib; - ext2_dirent_t *dent; + ext2_dirent_t *dent = NULL; int err = 0; size_t tmp_sz; char *symbuf; hooks/post-receive -- A pseudo Operating System for the Dreamcast. |