fillchar(tmp, sizeof(tmp), #0); gives the Hint: Local variable "tmp" does not seem to be initialized message upon compilation, which should not happen because it is actually the initialization.