[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:
Adrian Chadd 2016-12-03 20:35:39 +00:00
parent 4f38967037
commit a1fa23910c

View File

@ -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;