summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/driver/slbt_driver_ctx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 69611a4..3f7d2c5 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -452,6 +452,8 @@ static int slbt_init_version_info(
return 0;
}
+ current = revision = age = 0;
+
sscanf(verinfo->verinfo,"%d:%d:%d",
&current,&revision,&age);