summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>2009-02-14 18:56:44 -0500
committerKarolin Seeger <kseeger@samba.org>2009-02-16 09:57:06 +0100
commit0fb825fa1505a08865bca4810a5d59847bc147a6 (patch)
tree2cf2e78251c2badda93df2551a550d7ace2cd86c
parent9d307f54ca6d101a7adb5038ee4e96cc01b54b04 (diff)
downloadsamba-0fb825fa1505a08865bca4810a5d59847bc147a6.tar.gz
Get rid of the warnings I had for testing
(cherry picked from commit f38c50b13f3ad916db884611ad4199198f6cade2)
-rw-r--r--source/libsmb/libsmb_stat.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/libsmb/libsmb_stat.c b/source/libsmb/libsmb_stat.c
index b09afaca259..b9b14e36a19 100644
--- a/source/libsmb/libsmb_stat.c
+++ b/source/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;
@@ -449,9 +447,6 @@ SMBC_fstatvfs_ctx(SMBCCTX *context,
#if HAVE_FSID_INT
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
}