diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2020-10-26 05:45:27 -0400 |
---|---|---|
committer | Thanos Makatos <thanos.makatos@nutanix.com> | 2020-10-26 05:45:27 -0400 |
commit | 9589ccfcc60b2bf27142961b541fce0faede45a3 (patch) | |
tree | c4bbdb589bb06471d03557e436623545daa82b0b /lib | |
parent | 8698ba8a748d38788bec9e535c0b6d595d6590aa (diff) | |
download | libvfio-user-9589ccfcc60b2bf27142961b541fce0faede45a3.zip libvfio-user-9589ccfcc60b2bf27142961b541fce0faede45a3.tar.gz libvfio-user-9589ccfcc60b2bf27142961b541fce0faede45a3.tar.bz2 |
don't use uninitilized variable
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libmuser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libmuser.c b/lib/libmuser.c index 8a31b9c..547a318 100644 --- a/lib/libmuser.c +++ b/lib/libmuser.c @@ -1990,7 +1990,7 @@ process_request(lm_ctx_t *lm_ctx) struct vfio_region_info *dev_reg_info = NULL; void *data = NULL; bool free_data = false; - int len; + int len = 0; assert(lm_ctx != NULL); |