tst_QGeo{Path,Polygon}: fix one -Wreturn-type each
GCC complained that "control reaches end of non-void function" in the
construct*() functions. It's correct, since enum values are not
limited to enumerated values.
Add Q_UNREACHABLE_RETURN().
Amends b2edd51351af86381e22e76d139e983dd94d32c5 (picked to 6.8).
Pick-to: 6.12 6.11 6.8
Change-Id: I06e6c86bb431e477ea9a0488b114e5f8b33e358d
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
| commit | fec573d121a9eb469b802833cda0a878c515354b |
| parent | da2799c42981041acb5f4c7b8b147c96eacecee6 |
| author | Marc Mutz <marc.mutz@qt.io> |
| committer | Marc Mutz <marc.mutz@qt.io> |
| commit time | Thu, 20 Aug 2026 11:51:55 +0000 |