mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Remove unused variables
This commit is contained in:
parent
8351b0481f
commit
79f26b947d
@ -206,7 +206,6 @@ void CoreOptionsDialog::buildLayout()
|
||||
QFormLayout *form = NULL;
|
||||
settings_t *settings = config_get_ptr();
|
||||
size_t opts = 0;
|
||||
int i;
|
||||
unsigned j, k;
|
||||
|
||||
clearLayout();
|
||||
|
@ -106,10 +106,8 @@ void PlaylistEntryDialog::onPathClicked()
|
||||
|
||||
void PlaylistEntryDialog::loadPlaylistOptions()
|
||||
{
|
||||
unsigned i, j;
|
||||
core_info_list_t *core_info_list = NULL;
|
||||
const core_info_t *core_info = NULL;
|
||||
unsigned i = 0;
|
||||
int j = 0;
|
||||
|
||||
m_nameLineEdit->clear();
|
||||
m_pathLineEdit->clear();
|
||||
|
@ -79,10 +79,11 @@ void MainWindow::onPlaylistThumbnailDownloadFinished()
|
||||
if (!redirectUrl.isEmpty())
|
||||
{
|
||||
QByteArray redirectUrlArray = redirectUrl.toString().toUtf8();
|
||||
#if 0
|
||||
const char *redirectUrlData = redirectUrlArray.constData();
|
||||
|
||||
/*RARCH_LOG("[Qt]: Thumbnail download got redirect with HTTP code %d: %s\n", code, redirectUrlData);*/
|
||||
|
||||
#endif
|
||||
reply->disconnect();
|
||||
reply->abort();
|
||||
reply->deleteLater();
|
||||
@ -174,7 +175,9 @@ void MainWindow::onPlaylistThumbnailDownloadFinished()
|
||||
void MainWindow::onPlaylistThumbnailDownloadProgress(qint64 bytesReceived, qint64 bytesTotal)
|
||||
{
|
||||
QNetworkReply *reply = m_playlistThumbnailDownloadReply.data();
|
||||
#if 0
|
||||
int progress = (bytesReceived / (float)bytesTotal) * 100.0f;
|
||||
#endif
|
||||
|
||||
if (!reply)
|
||||
return;
|
||||
|
@ -587,7 +587,6 @@ void ShaderParamsDialog::onShaderResetParameter(QString parameter)
|
||||
{
|
||||
struct video_shader *menu_shader = NULL;
|
||||
struct video_shader *video_shader = NULL;
|
||||
unsigned i;
|
||||
|
||||
getShaders(&menu_shader, &video_shader);
|
||||
|
||||
@ -884,8 +883,7 @@ void ShaderParamsDialog::buildLayout()
|
||||
struct video_shader *video_shader = NULL;
|
||||
struct video_shader *avail_shader = NULL;
|
||||
const char *shader_path = NULL;
|
||||
int i;
|
||||
unsigned j;
|
||||
unsigned i;
|
||||
bool hasPasses = false;
|
||||
|
||||
getShaders(&menu_shader, &video_shader);
|
||||
|
@ -15,6 +15,7 @@ extern "C" {
|
||||
#include "../../../version.h"
|
||||
}
|
||||
|
||||
#undef USER_AGENT
|
||||
#define USER_AGENT "RetroArch-WIMP/" PACKAGE_VERSION
|
||||
#define PARTIAL_EXTENSION ".partial"
|
||||
#define THUMBNAIL_URL_HEADER "https://github.com/libretro-thumbnails/"
|
||||
|
@ -15,6 +15,7 @@ extern "C" {
|
||||
#include "../../../version.h"
|
||||
}
|
||||
|
||||
#undef TEMP_EXTENSION
|
||||
#define USER_AGENT "RetroArch-WIMP/" PACKAGE_VERSION
|
||||
#define PARTIAL_EXTENSION ".partial"
|
||||
#define TEMP_EXTENSION ".tmp"
|
||||
|
@ -346,7 +346,6 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
QHBoxLayout *gridProgressLayout = new QHBoxLayout();
|
||||
QLabel *gridProgressLabel = NULL;
|
||||
QHBoxLayout *gridFooterLayout = NULL;
|
||||
int i = 0;
|
||||
|
||||
qRegisterMetaType<QPointer<ThumbnailWidget> >("ThumbnailWidget");
|
||||
qRegisterMetaType<retro_task_callback_t>("retro_task_callback_t");
|
||||
|
Loading…
x
Reference in New Issue
Block a user