C code and locating unused structure elements