From 0a1d1d49377267fafd8ba94231c66233e9d6ad15 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 23 May 1999 17:38:37 +0000 Subject: 1999-05-23 Roland McGrath * stripe.c (concat_decode): Add __attribute__((unused)) to suppress warning. (ileave_decode): Likewise. --- libstore/stripe.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libstore/stripe.c') diff --git a/libstore/stripe.c b/libstore/stripe.c index 5b266865..59fb504e 100644 --- a/libstore/stripe.c +++ b/libstore/stripe.c @@ -1,7 +1,7 @@ /* Striped store backend - Copyright (C) 1996, 1997 Free Software Foundation, Inc. - Written by Miles Bader + Copyright (C) 1996,97,99 Free Software Foundation, Inc. + Written by Miles Bader This file is part of the GNU Hurd. The GNU Hurd is free software; you can redistribute it and/or @@ -90,7 +90,7 @@ ileave_decode (struct store_enc *enc, const struct store_class *const *classes, return EINVAL; else { - int type = enc->ints[enc->cur_int++]; + int type __attribute__((unused)) = enc->ints[enc->cur_int++]; int flags = enc->ints[enc->cur_int++]; int interleave = enc->ints[enc->cur_int++]; int nkids = enc->ints[enc->cur_int++]; @@ -134,7 +134,7 @@ concat_decode (struct store_enc *enc, const struct store_class *const *classes, return EINVAL; else { - int type = enc->ints[enc->cur_int++]; + int type __attribute__((unused)) = enc->ints[enc->cur_int++]; int flags = enc->ints[enc->cur_int++]; int nkids = enc->ints[enc->cur_int++]; struct store *kids[nkids]; @@ -187,7 +187,7 @@ store_ileave_create (struct store *const *stripes, size_t num_stripes, if (stripes[i]->block_size != block_size) end /= (block_size / stripes[i]->block_size); - + if (min_end < 0) min_end = end; else if (min_end > end) -- cgit v1.2.3