[trunk] removed warnings when building tcd.c (Update issue 442)