diff options
author | Alasdair Kergon <agk@redhat.com> | 2007-08-22 14:38:18 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2007-08-22 14:38:18 +0000 |
commit | 21bc366486b241180e43864a03267a6d1e2e9a01 (patch) | |
tree | 520259cd2f771dd96f9520f2088fedf256987f6b /lib/error | |
parent | d65b20980b63e75903830795a703769ad4030f40 (diff) | |
download | lvm2-21bc366486b241180e43864a03267a6d1e2e9a01.tar.gz |
Clean up numerous compiler warnings that crept in recently.
Remove several unused parameters from _allocate().
Diffstat (limited to 'lib/error')
-rw-r--r-- | lib/error/errseg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/error/errseg.c b/lib/error/errseg.c index e86a52c6f..6c62f406c 100644 --- a/lib/error/errseg.c +++ b/lib/error/errseg.c @@ -67,7 +67,7 @@ static int _errseg_target_present(const struct lv_segment *seg __attribute((unus #endif static int _errseg_modules_needed(struct dm_pool *mem, - const struct lv_segment *seg, + const struct lv_segment *seg __attribute((unused)), struct list *modules) { if (!str_list_add(mem, modules, "error")) { |