summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-12-02 04:51:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:16 -0500
commit4183b2ac3832cdc2055d7eb3ed7121a9ea91085c (patch)
tree880492048be3a307eb82ebc663b4a7d3805dd337 /source4/ntvfs/posix
parent3b863542dca8e638cdba6daad043f224d81fcd6a (diff)
downloadsamba-4183b2ac3832cdc2055d7eb3ed7121a9ea91085c.tar.gz
samba-4183b2ac3832cdc2055d7eb3ed7121a9ea91085c.tar.bz2
samba-4183b2ac3832cdc2055d7eb3ed7121a9ea91085c.zip
r4037: fixed a bunch of "might be uninitialised" warnings after enabling -O1 in my compile
(This used to be commit 0928b1f5b68c858922c3ea6c27ed03b5091c6221)
Diffstat (limited to 'source4/ntvfs/posix')
-rw-r--r--source4/ntvfs/posix/pvfs_resolve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/posix/pvfs_resolve.c b/source4/ntvfs/posix/pvfs_resolve.c
index 7329968d6c..7e7f49d0af 100644
--- a/source4/ntvfs/posix/pvfs_resolve.c
+++ b/source4/ntvfs/posix/pvfs_resolve.c
@@ -546,8 +546,8 @@ NTSTATUS pvfs_resolve_partial(struct pvfs_state *pvfs, TALLOC_CTX *mem_ctx,
NTSTATUS pvfs_resolve_name_fd(struct pvfs_state *pvfs, int fd,
struct pvfs_filename *name)
{
- dev_t device;
- ino_t inode;
+ dev_t device = 0;
+ ino_t inode = 0;
if (name->exists) {
device = name->st.st_dev;