Module Name: src
Committed By: kre
Date: Tue May 1 21:28:39 UTC 2018
Modified Files:
src/usr.sbin/sysinst: partman.c
Log Message:
Change return type of pm_lvm_find() from int to void.
It always returns (returned) 0 which was ignored by the one call.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/sysinst/partman.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/sysinst/partman.c
diff -u src/usr.sbin/sysinst/partman.c:1.20 src/usr.sbin/sysinst/partman.c:1.21
--- src/usr.sbin/sysinst/partman.c:1.20 Tue May 1 21:26:41 2018
+++ src/usr.sbin/sysinst/partman.c Tue May 1 21:28:39 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: partman.c,v 1.20 2018/05/01 21:26:41 kre Exp $ */
+/* $NetBSD: partman.c,v 1.21 2018/05/01 21:28:39 kre Exp $ */
/*
* Copyright 2012 Eugene Lozovoy
@@ -1173,7 +1173,7 @@ pm_cgd_commit(void)
/* Add lvm logical volumes to pm list */
/* XXX: rewrite */
-static int
+static void
pm_lvm_find(void)
{
int i, ii, already_found;
@@ -1213,7 +1213,6 @@ pm_lvm_find(void)
memset(pm_new, 0, sizeof *pm_new);
}
}
- return 0;
}
static int