Avoid unused variable warnings when CLPF and dering are enabled. Change-Id: I7909756e6a7d2da817b3354d6a8cb341cdc5bf98