[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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309513

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;