Fixed warnings introduced by the UTF-8 conversion.
This commit is contained in:
@@ -88,7 +88,6 @@ image_is_hdi(const char *s)
|
||||
int
|
||||
image_is_hdx(const char *s, int check_signature)
|
||||
{
|
||||
int len;
|
||||
FILE *f;
|
||||
uint64_t filelen;
|
||||
uint64_t signature;
|
||||
@@ -125,7 +124,6 @@ image_is_hdx(const char *s, int check_signature)
|
||||
int
|
||||
image_is_vhd(const char *s, int check_signature)
|
||||
{
|
||||
int len;
|
||||
FILE* f;
|
||||
|
||||
if (! strcasecmp(plat_get_extension((char *) s), "VHD")) {
|
||||
|
@@ -198,7 +198,6 @@ static void *
|
||||
catalyst_flash_init(const device_t *info)
|
||||
{
|
||||
FILE *f;
|
||||
int l;
|
||||
flash_t *dev;
|
||||
|
||||
dev = malloc(sizeof(flash_t));
|
||||
|
@@ -353,7 +353,6 @@ static void *
|
||||
intel_flash_init(const device_t *info)
|
||||
{
|
||||
FILE *f;
|
||||
int l;
|
||||
flash_t *dev;
|
||||
uint8_t type = info->local & 0xff;
|
||||
|
||||
|
@@ -568,7 +568,6 @@ void
|
||||
plat_tempfile(char *bufp, char *prefix, char *suffix)
|
||||
{
|
||||
SYSTEMTIME SystemTime;
|
||||
char temp[1024];
|
||||
|
||||
if (prefix != NULL)
|
||||
sprintf(bufp, "%s-", prefix);
|
||||
|
@@ -2100,7 +2100,7 @@ win_settings_hard_disks_update_item(HWND hdlg, int i, int column)
|
||||
{
|
||||
HWND hwndList = GetDlgItem(hdlg, IDC_LIST_HARD_DISKS);
|
||||
LVITEM lvI;
|
||||
WCHAR szText[256], usr_path_w[1024];
|
||||
WCHAR szText[256];
|
||||
|
||||
lvI.mask = LVIF_TEXT | LVIF_IMAGE | LVIF_STATE;
|
||||
lvI.stateMask = lvI.iSubItem = lvI.state = 0;
|
||||
|
@@ -1418,7 +1418,7 @@ void
|
||||
plat_pause(int p)
|
||||
{
|
||||
static wchar_t oldtitle[512];
|
||||
wchar_t title[512], *t;
|
||||
wchar_t title[512];
|
||||
|
||||
/* If un-pausing, as the renderer if that's OK. */
|
||||
if (p == 0)
|
||||
@@ -1434,7 +1434,6 @@ plat_pause(int p)
|
||||
}
|
||||
|
||||
if (p) {
|
||||
t = ui_window_title(NULL);
|
||||
wcsncpy(oldtitle, ui_window_title(NULL), sizeof_w(oldtitle) - 1);
|
||||
wcscpy(title, oldtitle);
|
||||
wcscat(title, L" - PAUSED -");
|
||||
|
Reference in New Issue
Block a user