Compiler complains about uninitialised variables in the impossible 'default' code path in device provider source/sink switch-case.