* master - cleanup: remove 'discards 'const' qualifier' compilation warning
@ 2013-10-09 8:07 Peter Rajnoha
0 siblings, 0 replies; only message in thread
From: Peter Rajnoha @ 2013-10-09 8:07 UTC (permalink / raw)
To: lvm-devel
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=a7c73154ea4f751cfd7e72162d355844993d72fa
Commit: a7c73154ea4f751cfd7e72162d355844993d72fa
Parent: 808a5d945e3af27c7e79093f38d2dbe8370fee39
Author: Peter Rajnoha <prajnoha@redhat.com>
AuthorDate: Wed Oct 9 10:05:02 2013 +0200
Committer: Peter Rajnoha <prajnoha@redhat.com>
CommitterDate: Wed Oct 9 10:05:02 2013 +0200
cleanup: remove 'discards 'const' qualifier' compilation warning
---
daemons/lvmetad/lvmetad-core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/daemons/lvmetad/lvmetad-core.c b/daemons/lvmetad/lvmetad-core.c
index cfbf279..b7a3023 100644
--- a/daemons/lvmetad/lvmetad-core.c
+++ b/daemons/lvmetad/lvmetad-core.c
@@ -796,7 +796,7 @@ static response pv_gone(lvmetad_state *s, request r)
pvmeta = dm_hash_lookup(s->pvid_to_pvmeta, pvid);
pvid_old = dm_hash_lookup_binary(s->device_to_pvid, &device, sizeof(device));
- const char *vgid = dm_strdup(dm_hash_lookup(s->pvid_to_vgid, pvid));
+ char *vgid = dm_strdup(dm_hash_lookup(s->pvid_to_vgid, pvid));
if (!vgid) {
unlock_pvid_to_pvmeta(s);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-10-09 8:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-09 8:07 master - cleanup: remove 'discards 'const' qualifier' compilation warning Peter Rajnoha
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.