Skip to content

Commit 1408f93

Browse files
authored
fix: remove accidentally re-introduced "globalFlag == 9" block from testfilters.c (#137)
This specific block of code was correctly removed in PR #122. It was inadvertently re-introduced during a Git merge conflict resolution in PR #133 while I was applying memory safety fixes. This PR cleans up that accidental inclusion and restores the file to its intended state.
1 parent c040517 commit 1408f93

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

cupsfilters/testfilters.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,15 +1224,7 @@ run_test(
12241224
}
12251225
continue;
12261226
}
1227-
else if (globalFlag == 9)
1228-
{
1229-
filter_chain_str = token;
1230-
filter_chain = parse_filter_chain(filter_chain_str, outputContentType);
1231-
globalFlag++;
1232-
}
1233-
1234-
1235-
1227+
12361228
char **tmp_clargs = (char **)realloc(clargs, (token_index+1)*sizeof(char*));
12371229
if (!tmp_clargs)
12381230
{

0 commit comments

Comments
 (0)