mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-10 16:31:18 +01:00
Warns cleanup - not ready for WARNS=2 yet.
This commit is contained in:
parent
fae4fbf838
commit
106b1a8c91
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87288
@ -105,7 +105,8 @@ main(argc, argv)
|
||||
{
|
||||
struct stat sb;
|
||||
int ch, fd, termchar, match;
|
||||
unsigned char *back, *file, *front, *string, *p;
|
||||
unsigned char *back, *front, *string, *p;
|
||||
unsigned const char *file;
|
||||
|
||||
(void) setlocale(LC_CTYPE, "");
|
||||
|
||||
@ -164,7 +165,7 @@ look(string, front, back)
|
||||
register unsigned char *readp, *writep;
|
||||
|
||||
/* Reformat string string to avoid doing it multiple times later. */
|
||||
for (readp = writep = string; ch = *readp++;) {
|
||||
for (readp = writep = string; (ch = *readp++);) {
|
||||
if (fflag)
|
||||
ch = FOLD(ch);
|
||||
if (dflag)
|
||||
|
Loading…
Reference in New Issue
Block a user