From: wysochanski@sourceware.org <wysochanski@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2 tools/vgcfgrestore.c lib/config/config.c ...
Date: 13 Jun 2007 15:11:19 -0000 [thread overview]
Message-ID: <20070613151119.5467.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: wysochanski at sourceware.org 2007-06-13 15:11:19
Modified files:
tools : vgcfgrestore.c
lib/config : config.c
. : WHATS_NEW
Log message:
Fix a couple benign warnings by adding variable initializations.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/vgcfgrestore.c.diff?cvsroot=lvm2&r1=1.14&r2=1.15
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/config/config.c.diff?cvsroot=lvm2&r1=1.58&r2=1.59
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.628&r2=1.629
--- LVM2/tools/vgcfgrestore.c 2007/06/08 22:38:48 1.14
+++ LVM2/tools/vgcfgrestore.c 2007/06/13 15:11:19 1.15
@@ -17,7 +17,7 @@
int vgcfgrestore(struct cmd_context *cmd, int argc, char **argv)
{
- char *vg_name;
+ char *vg_name = NULL;
if (argc == 1) {
vg_name = skip_dev_dir(cmd, argv[0], NULL);
--- LVM2/lib/config/config.c 2007/04/27 20:41:50 1.58
+++ LVM2/lib/config/config.c 2007/06/13 15:11:19 1.59
@@ -188,7 +188,7 @@
int r = 0;
int use_mmap = 1;
off_t mmap_offset = 0;
- char *buf;
+ char *buf = NULL;
if (!(p = dm_pool_alloc(c->mem, sizeof(*p)))) {
stack;
--- LVM2/WHATS_NEW 2007/06/12 22:41:27 1.628
+++ LVM2/WHATS_NEW 2007/06/13 15:11:19 1.629
@@ -1,5 +1,6 @@
Version 2.02.26 -
=================================
+ Fix a couple benign warnings by adding variable initializations.
Convert find_pv_in_vg_by_uuid and pv_create to use PV handles.
Add get_pv_* functions to return PV members (external LVM library).
Add wrappers to some functions in preparation for external LVM library.
reply other threads:[~2007-06-13 15:11 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=20070613151119.5467.qmail@sourceware.org \
--to=wysochanski@sourceware.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.