* [Ocfs2-devel] A patch to remove compile warnings in file inode.c
@ 2004-04-01 2:35 Sonic Zhang
0 siblings, 0 replies; only message in thread
From: Sonic Zhang @ 2004-04-01 2:35 UTC (permalink / raw)
To: ocfs2-devel
Hi,
This is a patch to remove compile warnings in file inode.c.
/root/projects/ocfs2/src/inode.c: In function `ocfs_find_actor':
/root/projects/ocfs2/src/inode.c:562: warning: `args' might be used
uninitialized in this function
See the attachment.
--------------------------------------------------
--- src/inode.c.old 2004-04-01 16:27:32.683665136 +0800
+++ src/inode.c 2004-04-01 16:29:49.864810432 +0800
@@ -559,7 +559,7 @@
*/
int ocfs_find_actor (struct inode *inode, void *opaque)
{
- ocfs_find_inode_args *args;
+ ocfs_find_inode_args *args = NULL;
int ret = 0;
__u64 fileOff;
ocfs_file_entry *fe = NULL;
-------------- next part --------------
--- src/inode.c.old 2004-04-01 16:27:32.683665136 +0800
+++ src/inode.c 2004-04-01 16:29:49.864810432 +0800
@@ -559,7 +559,7 @@
*/
int ocfs_find_actor (struct inode *inode, void *opaque)
{
- ocfs_find_inode_args *args;
+ ocfs_find_inode_args *args = NULL;
int ret = 0;
__u64 fileOff;
ocfs_file_entry *fe = NULL;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-04-01 2:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-01 2:35 [Ocfs2-devel] A patch to remove compile warnings in file inode.c Sonic Zhang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.