Skip to content

Commit 5ee76f1

Browse files
Fabian-Gruenbichlervathpela
authored andcommitted
mock-variables: remove unused variable
Signed-off-by: Fabian Grünbichler <[email protected]>
1 parent 8072d62 commit 5ee76f1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

mock-variables.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,11 +1157,7 @@ mock_load_variables(const char *const dirname, const char *filters[],
11571157
printf("%s:%d:%s(): maybe adding entry \"%s\"\n", __FILE__, __LINE__, __func__, entry->d_name);
11581158
#endif
11591159
if (filters && len > guidstr_size + 1) {
1160-
char spacebuf[len];
1161-
11621160
len -= guidstr_size;
1163-
SetMem(spacebuf, sizeof(spacebuf)-1, ' ');
1164-
spacebuf[len] = '\0';
11651161
for (size_t i = 0; filters[i]; i++) {
11661162
if (strlen(filters[i]) > len)
11671163
continue;

0 commit comments

Comments
 (0)