mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 19:45:41 -04:00
[libromdata] ISO::imgpf(): Remove unused RP_D() for now, and an extra 'break;' statement.
In file included from src/libromdata/stdafx.h:63, from src/libromdata/Media/ISO.cpp:10: src/libromdata/Media/ISO.cpp: In member function ‘virtual uint32_t LibRomData::ISO::imgpf(LibRpBase::RomData::ImageType) const’: src/libromdata/../common.h:93:45: warning: unused variable ‘d’ [-Wunused-variable] 93 | # define RP_D(klass) klass##Private *const d = static_cast<klass##Private*>(d_ptr) | ^ src/libromdata/Media/ISO.cpp:984:9: note: in expansion of macro ‘RP_D’ 984 | RP_D(const ISO); | ^~~~
This commit is contained in:
parent
a837c883ee
commit
d0fb8dc73e
@ -981,13 +981,11 @@ uint32_t ISO::imgpf(ImageType imageType) const
|
||||
{
|
||||
ASSERT_imgpf(imageType);
|
||||
|
||||
RP_D(const ISO);
|
||||
uint32_t ret = 0;
|
||||
switch (imageType) {
|
||||
case IMG_INT_ICON:
|
||||
// TODO: Use nearest-neighbor for < 64x64.
|
||||
break;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user