mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 07:12:39 +00:00
* grub-core/commands/wildcard.c (wildcard_expand): Set default return
value rather than let it uninited.
This commit is contained in:
1 parent
f4d5820f28
commit
9068fdcf0b
2 files changed
+6
No files matched your search
@@ -475,6 +475,7 @@ wildcard_expand (const char *s, char ***strs)
|
||||
unsigned i;
|
||||
regex_t regexp;
|
||||
|
||||
*strs = 0;
|
||||
if (s[0] != '/' && s[0] != '(' && s[0] != '*')
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user