ErichStyger / mcuoneclipse

McuOnEclipse Processor Expert components and example projects
Other
731 stars 1.29k forks source link

FAT_FileSystem Component: unreachable code (2x) #8

Closed axelriet closed 10 years ago

axelriet commented 10 years ago

There are two occurences of unreachable code in the generated code:

FS.C(719) FSerrFResultMsg() : the statement return (char)"_error*"; is unreachable (the switch statement has a default case).

FS.C(744) FS_errDResultMsg : idem.

ErichStyger commented 10 years ago

Thanks for reporting! This one I already have fixed a few days ago: https://github.com/ErichStyger/mcuoneclipse/commit/5c0094bbdc8a7d9fab7a02e0e273c518b19f8772

Will be available with the next *.PEupd release.