- fixed statements throwing unused-value warning
SKIPPED: psi/buffer.c
This commit is contained in:
6
exeman.c
6
exeman.c
@ -836,8 +836,8 @@ static int IsWildcardMatch(char *wildcardString, char *stringToCheck,
|
||||
// we only want to advance the pointers if we successfully assigned
|
||||
// both of our char variables, so we'll do it here rather than in the
|
||||
// loop condition itself
|
||||
*stringToCheck++;
|
||||
*wildcardString++;
|
||||
(void)*stringToCheck++;
|
||||
(void)*wildcardString++;
|
||||
|
||||
// if this isn't a case-sensitive match, make both chars uppercase
|
||||
// (thanks to David John Fielder (Konan) at http://innuendo.ev.ca
|
||||
@ -854,7 +854,7 @@ static int IsWildcardMatch(char *wildcardString, char *stringToCheck,
|
||||
// until we've either found a match or the string has
|
||||
// ended
|
||||
if (starMatchesZero)
|
||||
*stringToCheck--;
|
||||
(void)*stringToCheck--;
|
||||
|
||||
while (*stringToCheck) {
|
||||
if (IsWildcardMatch
|
||||
|
Reference in New Issue
Block a user