Module Name: src Committed By: reinoud Date: Sat May 1 21:14:40 UTC 2010
Modified Files: src/sys/dev/sdmmc: sdmmc_mem.c Log Message: Initialise error variable to zero. If all the if's fail it exists the function sdmmc_init returning the then still uninitialised variable. gcc can't know if one of the if's is bound to happen. Detected with -DDEBUG -DDIAGNOSTIC -DKGDB - ... To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/sdmmc/sdmmc_mem.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.