diff options
| author | Aphlita <[email protected]> | 2026-04-26 09:31:40 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2026-04-29 23:01:56 +0800 |
| commit | e17a3a6e85654716d11b4367d00bab5a0430bc01 (patch) | |
| tree | 1aa4eea7e8af0de94090aba15ac1f0a71632905b | |
| parent | ed74810e9223550400af47c51d81b21e4b889048 (diff) | |
dfs:fix uninitialized 9pfs protocol lookup
| -rw-r--r-- | components/dfs/dfs_v1/filesystems/9pfs/dfs_9pfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/dfs_v1/filesystems/9pfs/dfs_9pfs.c b/components/dfs/dfs_v1/filesystems/9pfs/dfs_9pfs.c index f874a5f383..6d44e78d07 100644 --- a/components/dfs/dfs_v1/filesystems/9pfs/dfs_9pfs.c +++ b/components/dfs/dfs_v1/filesystems/9pfs/dfs_9pfs.c @@ -923,7 +923,7 @@ static int dfs_9pfs_mount(struct dfs_filesystem *fs, unsigned long rwflag, const void *data) { rt_ubase_t level; - struct p9_protocol *p9p, *p9p_tmp; + struct p9_protocol *p9p = RT_NULL, *p9p_tmp; struct p9_connection *conn = RT_NULL; if (!data) |
