- Initialize variable in order to avoid GCC warning and enable WARNS=6.
PR: bin/139970 Submitted by: Ulrich Spörlein <uqs -at- spoerlein.net>
This commit is contained in:
parent
dbf6ce4802
commit
18f719f38d
@ -6,6 +6,4 @@ CLASS= part
|
||||
|
||||
LDADD= -lutil
|
||||
|
||||
WARNS?= 4
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -192,6 +192,7 @@ find_provider(struct ggeom *gp, unsigned long long minsector)
|
||||
unsigned long long sector, bestsector;
|
||||
|
||||
bestpp = NULL;
|
||||
bestsector = 0;
|
||||
LIST_FOREACH(pp, &gp->lg_provider, lg_provider) {
|
||||
s = find_provcfg(pp, "start");
|
||||
if (s == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user