Warn for unused constant paths.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>