* grub-core/fs/udf.c (read_string): Pacify GCC warning by

initialising utf16.
This commit is contained in:
Colin Watson 2010-12-21 13:00:10 +00:00
parent 4e01b6c821
commit b889cfadf9
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-12-21 Colin Watson <cjwatson@ubuntu.com>
* grub-core/fs/udf.c (read_string): Pacify GCC warning by
initialising utf16.
2010-12-21 Colin Watson <cjwatson@ubuntu.com> 2010-12-21 Colin Watson <cjwatson@ubuntu.com>
* util/grub-mkconfig_lib.in (gettext_quoted): Add clarifying * util/grub-mkconfig_lib.in (gettext_quoted): Add clarifying

View file

@ -791,7 +791,7 @@ fail:
static char * static char *
read_string (grub_uint8_t *raw, grub_size_t sz) read_string (grub_uint8_t *raw, grub_size_t sz)
{ {
grub_uint16_t *utf16; grub_uint16_t *utf16 = NULL;
char *ret; char *ret;
grub_size_t utf16len = 0; grub_size_t utf16len = 0;