[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:
David Korth 2025-06-07 23:30:31 -04:00
parent a837c883ee
commit d0fb8dc73e

View File

@ -981,13 +981,11 @@ uint32_t ISO::imgpf(ImageType imageType) const
{ {
ASSERT_imgpf(imageType); ASSERT_imgpf(imageType);
RP_D(const ISO);
uint32_t ret = 0; uint32_t ret = 0;
switch (imageType) { switch (imageType) {
case IMG_INT_ICON: case IMG_INT_ICON:
// TODO: Use nearest-neighbor for < 64x64. // TODO: Use nearest-neighbor for < 64x64.
break; break;
break;
default: default:
break; break;