diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-07-17 05:40:59 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-17 16:23:19 -0400 |
commit | 8e1c091cccd551557d24ce845715e8ceb6c49d36 (patch) | |
tree | 28f1ea20efe46dd6f62cc0cb77f65be56e7225fc /fs/ocfs2/file.c | |
parent | a6343afb6e16b65b9f0b264f94f8207212e7e3ae (diff) |
arch/i386/* fs/* ipc/*: mark variables with uninitialized_var()
Mark variables with uninitialized_var() if such a warning appears,
and analysis proves that the var is initialized properly on all paths
it is used.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'fs/ocfs2/file.c')
-rw-r--r-- | fs/ocfs2/file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index f04c7aa834cb..004c2abbc732 100644 --- a/fs/ocfs2/file.c +++ b/fs/ocfs2/file.c | |||
@@ -1867,7 +1867,8 @@ static ssize_t ocfs2_file_buffered_write(struct file *file, loff_t *ppos, | |||
1867 | loff_t pos; | 1867 | loff_t pos; |
1868 | const struct iovec *cur_iov = iov; | 1868 | const struct iovec *cur_iov = iov; |
1869 | struct page *user_page, *page; | 1869 | struct page *user_page, *page; |
1870 | char *buf, *dst; | 1870 | char * uninitialized_var(buf); |
1871 | char *dst; | ||
1871 | void *fsdata; | 1872 | void *fsdata; |
1872 | 1873 | ||
1873 | /* | 1874 | /* |