Remove unnecessary parentheses from sizeof, apply sizeof to variables instead of types whereever possible.

This commit is contained in:
Guus Sliepen 2008-12-11 15:56:18 +00:00
parent a9bdfb424e
commit 636200d1a2
19 changed files with 78 additions and 78 deletions

View file

@ -186,7 +186,7 @@ static void make_names(void)
#ifdef HAVE_MINGW
HKEY key;
char installdir[1024] = "";
long len = sizeof(installdir);
long len = sizeof installdir;
#endif
if(netname)