* grub-core/commands/regexp.c (grub_cmd_regexp): Remove unused

variable.
	* grub-core/commands/wildcard.c (match_files): Likewise.
This commit is contained in:
Szymon Janc 2010-11-30 21:35:59 +01:00
parent 3a4253b2c4
commit 3f0f38317b
3 changed files with 6 additions and 4 deletions

View file

@ -266,7 +266,6 @@ match_files (const char *prefix, const char *suffix, const char *end,
const regex_t *regexp)
{
int i;
int error;
char **files;
unsigned nfile;
char *dir;
@ -440,8 +439,6 @@ wildcard_expand (const char *s, char ***strs)
else if (*start == '/') /* no device part */
{
char **r;
unsigned n;
char *root;
char *prefix;