public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2 tools/vgcfgrestore.c lib/config/config.c  ...
@ 2007-06-13 15:11 wysochanski
  0 siblings, 0 replies; only message in thread
From: wysochanski @ 2007-06-13 15:11 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	wysochanski@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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-13 15:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-13 15:11 LVM2 tools/vgcfgrestore.c lib/config/config.c wysochanski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).