mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-05 00:49:17 +00:00
(GCC 12) Silence some new warnings generated
This commit is contained in:
parent
05797eb6b8
commit
2a747ada5d
@ -266,9 +266,9 @@ static uint8_t *rtga_tga_load(rtga_context *s,
|
|||||||
int RLE_repeating = 0;
|
int RLE_repeating = 0;
|
||||||
int RLE_count = 0;
|
int RLE_count = 0;
|
||||||
int read_next_pixel = 1;
|
int read_next_pixel = 1;
|
||||||
/* Needs to be at least 32 bytes to silence a GCC warning,
|
/* Needs to be at least 33 bytes to silence a GCC warning,
|
||||||
* only 4 are actually used */
|
* only 4 are actually used */
|
||||||
unsigned char raw_data[32] = {0};
|
unsigned char raw_data[33] = {0};
|
||||||
unsigned char *tga_palette = NULL;
|
unsigned char *tga_palette = NULL;
|
||||||
|
|
||||||
/* Do I need to load a palette? */
|
/* Do I need to load a palette? */
|
||||||
|
@ -44,7 +44,6 @@
|
|||||||
#include <QDragEnterEvent>
|
#include <QDragEnterEvent>
|
||||||
#include <QDropEvent>
|
#include <QDropEvent>
|
||||||
#include <QtConcurrentRun>
|
#include <QtConcurrentRun>
|
||||||
#include <QtNetwork>
|
|
||||||
|
|
||||||
#include "ui_qt.h"
|
#include "ui_qt.h"
|
||||||
#include "qt/gridview.h"
|
#include "qt/gridview.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user