Re: fixes for -Wmissing-declarations and -Wwrite-strings warnings
looking at the patch, I saw something in the code that made me sick: char *audioAutoDetect(void) { [snip] char *driversFound[10]; [snip] return driversFound[0]; [snip] } can someone fix that broken code ? that would be another nice janitorial task to check whether this kind of error exists somewhere else (I'd bet it does) A+
From: "Pouech Eric DMI AEI CAEN" <pouech-eric(a)wanadoo.fr>
looking at the patch, I saw something in the code that made me sick: char *audioAutoDetect(void) { [snip] char *driversFound[10]; [snip] return driversFound[0]; [snip] }
can someone fix that broken code ?
Yeah, it's not pretty, but just by looking at this snippet there is no obvious error in the above AFAICT. -- Dimi Paun <dimi(a)lattica.com> Lattica, Inc.
participants (2)
-
Dimi Paun -
Pouech Eric DMI AEI CAEN