On Wed, 17 Jun 2015 20:53:57 +0200, Fritjof Bornebusch wrote: > *edp1* and *edp2* could be used uninitialized, if *goto closem;* is called.
I don't think so. If dirp1 is non-NULL, so must edp1 be. Likewise for dirp2 and edp2. The compiler just doesn't know that scandir() does not modify its output argument on error. - todd
