diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2015-09-10 07:19:07 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-09 21:34:01 -0700 |
commit | 33c9cc60eff9c32f59cc32e6a194aabee40b3fff (patch) | |
tree | 7ecd4791cbbb4456574ccef87889b6140a3ab751 /uemis-downloader.c | |
parent | 51ce83ed20cd2ea493cf8118c1d85f9963f4e77f (diff) | |
download | subsurface-33c9cc60eff9c32f59cc32e6a194aabee40b3fff.tar.gz |
Initialize variable before use
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'uemis-downloader.c')
-rw-r--r-- | uemis-downloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uemis-downloader.c b/uemis-downloader.c index 923013350..a5e8a391a 100644 --- a/uemis-downloader.c +++ b/uemis-downloader.c @@ -786,7 +786,7 @@ static bool process_raw_buffer(device_data_t *devdata, uint32_t deviceid, char * bool done = false; int inbuflen = strlen(inbuf); char *endptr = buf + inbuflen; - bool is_log, is_dive = false; + bool is_log = false, is_dive = false; char *sections[10]; int s, nr_sections = 0; struct dive *dive = NULL; |