[v6r12] Fix dirac-dms-ftsdb-summary

Declare variable at proper place (bug #2096)