diff --git a/IHM_Retouche_Photo/tools/editable/pixelEraiser.cpp b/IHM_Retouche_Photo/tools/editable/pixelEraiser.cpp
index 09ba5d0357d5cbf4d599daa0429f71fdb4589562..e8836e4d002f9f5c581ad4bfacd8e376de0dc870 100644
--- a/IHM_Retouche_Photo/tools/editable/pixelEraiser.cpp
+++ b/IHM_Retouche_Photo/tools/editable/pixelEraiser.cpp
@@ -35,7 +35,7 @@ namespace tool {
         }
     }
 
-    void Pixeleraiser::onKeyReleased(ui::ImageArea & area, QImage & img, const QPoint & click, const ui::Selection & selection, const QKeyEvent & e, const ColorPickerWidget & cp) {
+    void Pixeleraiser::onKeyReleased(ui::ImageArea & area, QImage & img, const QPoint & click, const ui::Selection & selection, const QKeyEvent & e, const ColorPickerWidget &) {
         if(e.key() == Qt::Key_Return) {
             this->eraise(area, img, click, selection);
         }