Prevent possible unitialised use.
This commit is contained in:
parent
9e6efd2f32
commit
27967f8885
@ -437,7 +437,7 @@ static void formatted_print_str(const char *value, char align, int field_width,
|
||||
static void formatted_print_percent(const struct mosq_config *lcfg, const struct mosquitto_message *message, const mosquitto_property *properties, char format, char align, char pad, int field_width, int precision)
|
||||
{
|
||||
struct tm *ti = NULL;
|
||||
long ns;
|
||||
long ns = 0;
|
||||
char buf[100];
|
||||
int rc;
|
||||
uint8_t i8value;
|
||||
|
Loading…
Reference in New Issue
Block a user