summaryrefslogtreecommitdiff
path: root/source3/libsmb/libsmb_stat.c
diff options
context:
space:
mode:
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>2009-02-14 18:56:33 -0500
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>2009-02-14 18:56:33 -0500
commitaee9bab6e1a4b5520aa9beb5252e02fb55d28b13 (patch)
treeee14683354ac8d9eda90066a3e72515a92aeede4 /source3/libsmb/libsmb_stat.c
parent2b097cbb4e83291ffaea0c8904891f031caba898 (diff)
downloadsamba-aee9bab6e1a4b5520aa9beb5252e02fb55d28b13.tar.gz
samba-aee9bab6e1a4b5520aa9beb5252e02fb55d28b13.tar.bz2
samba-aee9bab6e1a4b5520aa9beb5252e02fb55d28b13.zip
Get rid of the warnings I had for testing
Diffstat (limited to 'source3/libsmb/libsmb_stat.c')
-rw-r--r--source3/libsmb/libsmb_stat.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/libsmb/libsmb_stat.c b/source3/libsmb/libsmb_stat.c
index 8a950b6077..63661cd7c3 100644
--- a/source3/libsmb/libsmb_stat.c
+++ b/source3/libsmb/libsmb_stat.c
@@ -402,8 +402,6 @@ SMBC_fstatvfs_ctx(SMBCCTX *context,
#if HAVE_FRSIZE
st->f_frsize =
(unsigned long) sectors_per_allocation_unit;
-#else
-#warning "f_frsize field is not available"
#endif
st->f_blocks =
(fsblkcnt_t) total_allocation_units;
@@ -450,9 +448,6 @@ SMBC_fstatvfs_ctx(SMBCCTX *context,
st->f_fsid =
(unsigned long) fs_identifier;
-#else
-#warning "f_fsid is not an integer type so is not available"
- /* We don't know the type, so don't try to set it */
#endif
}
}