summaryrefslogtreecommitdiffstats
path: root/lib/snapshot/snapshot.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2007-08-22 14:38:18 +0000
committerAlasdair Kergon <agk@redhat.com>2007-08-22 14:38:18 +0000
commit21bc366486b241180e43864a03267a6d1e2e9a01 (patch)
tree520259cd2f771dd96f9520f2088fedf256987f6b /lib/snapshot/snapshot.c
parentd65b20980b63e75903830795a703769ad4030f40 (diff)
downloadlvm2-21bc366486b241180e43864a03267a6d1e2e9a01.tar.gz
lvm2-21bc366486b241180e43864a03267a6d1e2e9a01.tar.xz
lvm2-21bc366486b241180e43864a03267a6d1e2e9a01.zip
Clean up numerous compiler warnings that crept in recently.
Remove several unused parameters from _allocate().
Diffstat (limited to 'lib/snapshot/snapshot.c')
-rw-r--r--lib/snapshot/snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/snapshot/snapshot.c b/lib/snapshot/snapshot.c
index d567aa80..97f0ce8c 100644
--- a/lib/snapshot/snapshot.c
+++ b/lib/snapshot/snapshot.c
@@ -128,7 +128,7 @@ static int _snap_target_present(const struct lv_segment *seg __attribute((unused
#endif
static int _snap_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, "snapshot")) {