Clean up some compiler warnings

This commit is contained in:
Connor McLaughlin
2020-10-11 12:14:29 +10:00
parent 5e65882920
commit d39c9f5d1c
13 changed files with 14 additions and 24 deletions

View File

@ -126,7 +126,7 @@ bool CDImageCHD::Open(const char* filename)
char pgsub_str[256];
u32 metadata_length;
int track_num = 0, frames = 0, pad = 0, pregap_frames = 0, postgap_frames = 0;
int track_num = 0, frames = 0, pregap_frames = 0, postgap_frames = 0;
err = chd_get_metadata(m_chd, CDROM_TRACK_METADATA2_TAG, num_tracks, metadata_str, sizeof(metadata_str),
&metadata_length, nullptr, nullptr);
if (err == CHDERR_NONE)

View File

@ -158,7 +158,6 @@ void Texture::GetTextureSubImage(GLuint texture, GLint level, GLint xoffset, GLi
else
glFramebufferTexture2D(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, level);
GLuint status = glCheckFramebufferStatus(GL_READ_FRAMEBUFFER);
DebugAssert(glCheckFramebufferStatus(GL_READ_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE);
glReadPixels(xoffset, yoffset, width, height, format, type, pixels);

View File

@ -9,7 +9,6 @@
#include "../string_util.h"
#include "context.h"
#include "shader_compiler.h"
Log_SetChannel(Vulkan::Util);
namespace Vulkan {
namespace Util {