* grub-core/commands/regexp.c (grub_cmd_regexp): Remove unused
variable. * grub-core/commands/wildcard.c (match_files): Likewise.
This commit is contained in:
parent
3a4253b2c4
commit
3f0f38317b
3 changed files with 6 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2010-11-30 Szymon Janc <szymon@janc.net.pl>
|
||||||
|
|
||||||
|
* grub-core/commands/regexp.c (grub_cmd_regexp): Remove unused
|
||||||
|
variable.
|
||||||
|
* grub-core/commands/wildcard.c (match_files): Likewise.
|
||||||
|
|
||||||
2010-11-30 Robert Millan <rmh@gnu.org>
|
2010-11-30 Robert Millan <rmh@gnu.org>
|
||||||
|
|
||||||
* grub-core/loader/i386/bsd.c
|
* grub-core/loader/i386/bsd.c
|
||||||
|
|
|
@ -87,7 +87,6 @@ set_matches (char **varnames, char *str, grub_size_t nmatches,
|
||||||
static grub_err_t
|
static grub_err_t
|
||||||
grub_cmd_regexp (grub_extcmd_context_t ctxt, int argc, char **args)
|
grub_cmd_regexp (grub_extcmd_context_t ctxt, int argc, char **args)
|
||||||
{
|
{
|
||||||
int argn = 0;
|
|
||||||
regex_t regex;
|
regex_t regex;
|
||||||
int ret;
|
int ret;
|
||||||
grub_size_t s;
|
grub_size_t s;
|
||||||
|
|
|
@ -266,7 +266,6 @@ match_files (const char *prefix, const char *suffix, const char *end,
|
||||||
const regex_t *regexp)
|
const regex_t *regexp)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
int error;
|
|
||||||
char **files;
|
char **files;
|
||||||
unsigned nfile;
|
unsigned nfile;
|
||||||
char *dir;
|
char *dir;
|
||||||
|
@ -440,8 +439,6 @@ wildcard_expand (const char *s, char ***strs)
|
||||||
|
|
||||||
else if (*start == '/') /* no device part */
|
else if (*start == '/') /* no device part */
|
||||||
{
|
{
|
||||||
char **r;
|
|
||||||
unsigned n;
|
|
||||||
char *root;
|
char *root;
|
||||||
char *prefix;
|
char *prefix;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue