In this case number receives the bytes printed by snprintf
and lint is warning about a non used variable, you can skip this lint warning with
number = snprintf(temp, sizeof(char), "%c", 'A'); /* lint -save -e550 */
or as others says
(void)snprintf(temp, sizeof(char), "%c", 'A');