diff --git a/src/debugger/gui/CartCDFInfoWidget.cxx b/src/debugger/gui/CartCDFInfoWidget.cxx index 2c27b5636..909b7a377 100644 --- a/src/debugger/gui/CartCDFInfoWidget.cxx +++ b/src/debugger/gui/CartCDFInfoWidget.cxx @@ -21,8 +21,7 @@ CartridgeCDFInfoWidget::CartridgeCDFInfoWidget( GuiObject* boss, const GUI::Font& lfont, const GUI::Font& nfont, int x, int y, int w, int h, CartridgeCDF& cart) - : CartDebugWidget(boss, lfont, nfont, x, y, w, h), - myCart(cart) + : CartDebugWidget(boss, lfont, nfont, x, y, w, h) { uInt16 size = 8 * 4096; @@ -65,4 +64,4 @@ string CartridgeCDFInfoWidget::describeCDFVersion(CartridgeCDF::CDFSubtype subty default: throw runtime_error("unreachable"); } -} \ No newline at end of file +} diff --git a/src/debugger/gui/CartCDFInfoWidget.hxx b/src/debugger/gui/CartCDFInfoWidget.hxx index 495fa3bb0..86a3143b6 100644 --- a/src/debugger/gui/CartCDFInfoWidget.hxx +++ b/src/debugger/gui/CartCDFInfoWidget.hxx @@ -30,9 +30,6 @@ class CartridgeCDFInfoWidget : public CartDebugWidget CartridgeCDF& cart); virtual ~CartridgeCDFInfoWidget() = default; - private: - CartridgeCDF& myCart; - private: static string describeCDFVersion(CartridgeCDF::CDFSubtype subtype);