[camcontrol] init ts=0 to quieten gcc.
It "looks" like ts is set to something on success, and not modified on error. Checked on IRC with: cem
This commit is contained in:
parent
4f38967037
commit
a1fa23910c
@ -328,7 +328,7 @@ timestamp(struct cam_device *device, int argc, char **argv, char *combinedopt,
|
||||
int retry_count, int timeout, int verbosemode __unused)
|
||||
{
|
||||
int c;
|
||||
uint64_t ts;
|
||||
uint64_t ts = 0;
|
||||
char *format_string = NULL;
|
||||
char *timestamp_string = NULL;
|
||||
int action = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user