mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-21 21:19:35 +00:00
dm: Coding style fix: variable initialization
Initialize cid variable in virtio_vhost_vsock_init. Tracked-On: #7593 Signed-off-by: Yifan Liu <yifan1.liu@intel.com>
This commit is contained in:
parent
eafc5ff418
commit
dc65edec35
@ -239,7 +239,7 @@ virtio_vhost_vsock_init(struct vmctx *ctx, struct pci_vdev *dev, char *opts)
|
|||||||
{
|
{
|
||||||
struct virtio_vsock *vsock;
|
struct virtio_vsock *vsock;
|
||||||
int rc;
|
int rc;
|
||||||
uint64_t cid;
|
uint64_t cid = 0;
|
||||||
pthread_mutexattr_t attr;
|
pthread_mutexattr_t attr;
|
||||||
char *devopts = NULL;
|
char *devopts = NULL;
|
||||||
char *tmp = NULL;
|
char *tmp = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user