In sys/dev/aic7xxx/aic79xx_osm.c, function ahd_attach(), initialize the

'path' variable to NULL, to avoid using it uninitialized in certain
cases.

Found by:	clang
MFC after:	1 week
This commit is contained in:
Dimitry Andric 2012-08-06 20:01:32 +00:00
parent ef8881526b
commit d265aafb5a

View File

@ -222,6 +222,7 @@ ahd_attach(struct ahd_softc *ahd)
count = 0;
devq = NULL;
sim = NULL;
path = NULL;
/*
* Create a thread to perform all recovery.