fix uninitialized variable warnings found by cppcheck
This commit is contained in:
committed by
Cedric Roux
parent
cf387a48ec
commit
428f9c0946
@@ -152,7 +152,7 @@ int main(int n, char **v)
|
||||
int32_t length;
|
||||
char *v;
|
||||
int vpos = 0;
|
||||
struct timespec t;
|
||||
struct timespec t = {0};
|
||||
char *buf;
|
||||
|
||||
/* read event from file */
|
||||
|
||||
Reference in New Issue
Block a user