Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sysinst Change return type of pm_lvm_find() from in...
details: https://anonhg.NetBSD.org/src/rev/b939a010bdb9
branches: trunk
changeset: 361508:b939a010bdb9
user: kre <kre%NetBSD.org@localhost>
date: Tue May 01 21:28:39 2018 +0000
description:
Change return type of pm_lvm_find() from int to void.
It always returns (returned) 0 which was ignored by the one call.
diffstat:
usr.sbin/sysinst/partman.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r df1dfa5e13a4 -r b939a010bdb9 usr.sbin/sysinst/partman.c
--- a/usr.sbin/sysinst/partman.c Tue May 01 21:26:41 2018 +0000
+++ b/usr.sbin/sysinst/partman.c Tue May 01 21:28:39 2018 +0000
@@ -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 @@
/* 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 @@
memset(pm_new, 0, sizeof *pm_new);
}
}
- return 0;
}
static int
Home |
Main Index |
Thread Index |
Old Index