Closed ultr closed 4 years ago
Might it not be better to directly initialize pathidx
in the top-level-function, e.g.
-int pathidx;
+int pathidx = 0;
?
It's still ongoing...
Sure and my suggestion has been totally ignored. Initializing the variable that much down is not very user-friendly, it would be way better to initialize at variable declaration.
Is not an issue for me now, as I've switched to SdFat.
Closing since no longer relevant for PR author.
SD.cpp:456:12: warning: 'pathidx' may be used uninitialized in this function [-Wmaybe-uninitialized]
SD.cpp:450:7: note: 'pathidx' was declared here