cdce: Fix a -Wunused-but-set-variable warning
(cherry picked from commit ceb246c7b2834b40812ccd03a61d8c1cab6b5ca2)