fixes for -Wmissing-declarations and -Wwrite-strings warnings

Dimi Paun dimi at lattica.com
Thu Jun 2 08:02:29 CDT 2005


From: "Pouech Eric DMI AEI CAEN" <pouech-eric at 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 at lattica.com>
Lattica, Inc.



More information about the wine-devel mailing list