mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-21 00:53:27 -06:00
fw_cfg: Drop a few superfluous initializers
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
d09acb9b5e
commit
9f8863ebd7
1 changed files with 3 additions and 3 deletions
|
@ -60,8 +60,8 @@ static char *read_splashfile(char *filename, size_t *file_sizep,
|
||||||
GError *err = NULL;
|
GError *err = NULL;
|
||||||
gboolean res;
|
gboolean res;
|
||||||
gchar *content;
|
gchar *content;
|
||||||
int file_type = -1;
|
int file_type;
|
||||||
unsigned int filehead = 0;
|
unsigned int filehead;
|
||||||
int bmp_bpp;
|
int bmp_bpp;
|
||||||
|
|
||||||
res = g_file_get_contents(filename, &content, file_sizep, &err);
|
res = g_file_get_contents(filename, &content, file_sizep, &err);
|
||||||
|
@ -113,7 +113,7 @@ static void fw_cfg_bootsplash(FWCfgState *s)
|
||||||
char *p;
|
char *p;
|
||||||
char *filename, *file_data;
|
char *filename, *file_data;
|
||||||
size_t file_size;
|
size_t file_size;
|
||||||
int file_type = -1;
|
int file_type;
|
||||||
const char *temp;
|
const char *temp;
|
||||||
|
|
||||||
/* get user configuration */
|
/* get user configuration */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue