tst_RepCodeGenerator: fix -Wunused


The other (complex) variables in the test function don't trigger it,
but the plain enum does.

Amends 89ba5a104f41bc56de588d3f7bf0d316f6203a90.

Pick-to: 6.9 6.8
Change-Id: I744b25d9327ed901f8706b722632e22acd6b90eb
Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
commit2a5c3dce2011bbd5072c42ae5fdeffcd1cbfea95
parent617c0fd62667f0d9f1b0b15b178b42a64ff4b03b
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeMon, 30 Dec 2024 07:58:59 +0100