From: Peter Rajnoha <prajnoha@fedoraproject.org>
To: lvm-devel@redhat.com
Subject: master - cleanup: remove 'discards 'const' qualifier' compilation warning
Date: Wed, 9 Oct 2013 08:07:21 +0000 (UTC) [thread overview]
Message-ID: <20131009080721.1374C61007@fedorahosted.org> (raw)
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);
reply other threads:[~2013-10-09 8:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131009080721.1374C61007@fedorahosted.org \
--to=prajnoha@fedoraproject.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.