From bc45f20a3cd991e185ed15a3da14263e44fd3582 Mon Sep 17 00:00:00 2001 From: Otfried Cheong Date: Sat, 25 May 2024 12:45:33 +0200 Subject: [PATCH] Placate compiler --- src/ipelib/ipeobject.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ipelib/ipeobject.cpp b/src/ipelib/ipeobject.cpp index 89630ab..c9c255f 100644 --- a/src/ipelib/ipeobject.cpp +++ b/src/ipelib/ipeobject.cpp @@ -317,6 +317,7 @@ Matrix Object::effectiveMatrix(const Matrix & m, const Vector &pos) const noexce Matrix m1 = m * matrix() * Matrix(pos); switch (transformations()) { case ETransformationsAffine: + default: return m1; case ETransformationsTranslations: return Matrix(m1.translation());