libdisplaymodule: resolve compilation errors
[GitHub/LineageOS/android_hardware_samsung_slsi_exynos7580.git] / libdisplaymodule / ExynosPrimaryDisplay.cpp
index 47a4439ea39ed2e985e4cc76a5604a02eeb1709c..56c8cfb9ddfc6f2b95e4f0de25dbb678678c9565 100644 (file)
@@ -18,7 +18,7 @@ ExynosPrimaryDisplay::~ExynosPrimaryDisplay()
 {
 }
 
-int ExynosPrimaryDisplay::getDeconWinMap(int overlayIndex, int totalOverlays)
+int ExynosPrimaryDisplay::getDeconWinMap(int overlayIndex __unused, int totalOverlays __unused)
 {
        return 0;
 }
@@ -37,7 +37,7 @@ int ExynosPrimaryDisplay::getRGBMPPIndex(int index)
     return index;
 }
 
-bool ExynosPrimaryDisplay::isOverlaySupported(hwc_layer_1_t &layer, size_t index, bool useVPPOverlay,
+bool ExynosPrimaryDisplay::isOverlaySupported(hwc_layer_1_t &layer, size_t index, bool useVPPOverlay  __unused,
         ExynosMPPModule** supportedInternalMPP, ExynosMPPModule** supportedExternalMPP)
 {
     // Exynos755555oesn't have any VPP Overlays