Cleaned up numerous warnings found by adding -Wextra -Wcast-qual -Wshadow -Wno-unused flags. --Rumble

This commit is contained in:
Rumble
2008-05-07 23:34:40 +00:00
parent e8c87e82e4
commit 4f1403558a
28 changed files with 186 additions and 187 deletions

View File

@@ -258,7 +258,7 @@ int valid_name(char *newname)
return (0);
/* return valid if list doesn't exist */
if (!invalid_list || num_invalid < 1)
if (invalid_list == NULL || num_invalid < 1)
return (1);
/* change to lowercase */