Fix uninitialized variable from 326034
Reported by: Coverity CID: 1382887 MFC after: 20 days X-MFC-With: 326034 Sponsored by: Spectra Logic Corp
This commit is contained in:
parent
69616dec48
commit
44b4cd16ac
@ -235,7 +235,8 @@ cam_strmatch(const u_int8_t *str, const u_int8_t *pattern, int str_len)
|
||||
return (1);
|
||||
} else if (*pattern == '[') {
|
||||
int negate_range, ok;
|
||||
uint8_t pc, sc;
|
||||
uint8_t pc = UCHAR_MAX;
|
||||
uint8_t sc;
|
||||
|
||||
ok = 0;
|
||||
sc = *str++;
|
||||
|
Loading…
Reference in New Issue
Block a user