diff --git a/modules/gui/include/visp3/gui/vpDisplayFactory.h b/modules/gui/include/visp3/gui/vpDisplayFactory.h index 39716f30b6..6d672353c4 100644 --- a/modules/gui/include/visp3/gui/vpDisplayFactory.h +++ b/modules/gui/include/visp3/gui/vpDisplayFactory.h @@ -71,7 +71,6 @@ vpDisplay *displayFactory() return new vpDisplayOpenCV(); #endif #else - (void)I; return nullptr; #endif }