version/tests: Write-strings warnings fix

James Hawkins truiken at gmail.com
Wed Aug 9 15:41:26 CDT 2006


On 8/9/06, Andrew Talbot <Andrew.Talbot at talbotville.com> wrote:
> Please note: in install.c, I have preserved a distinction between "regedit"
> and "regedit.exe" that was in the original code. If this distinction is
> accidental, please inform me, via wine-devel, and I shall send a revised
> version of this patch.
>
...
>
> @@ -34,6 +34,9 @@
>      char filename[MAX_PATH];
>      char outBuf[MAX_PATH];
>      char windir[MAX_PATH];
> +    static CHAR empty[]    = "",
> +               regedit_a[] = "regedit",
> +               regedit_b[] = "regedit.exe";
>
>      memset(appdir, 0, MAX_PATH);
>      memset(windir, 0, MAX_PATH);
>

Seems like regedit and regedit_exe might be better names than regedit_a/b.

-- 
James Hawkins



More information about the wine-devel mailing list