mlx4u.dll: initialize qp pointer before use
[mirror/winof/.git] / hw / mlx4 / user / hca / cq.c
index a95e183..a224ebb 100644 (file)
@@ -348,7 +348,7 @@ int mlx4_poll_cq_array(const void* h_cq,
                        const int num_entries, uvp_wc_t* const wc)\r
 {\r
        struct mlx4_cq *cq = to_mcq((struct ibv_cq *)/*Ptr64ToPtr(*/ h_cq /*)*/);\r
-       struct mlx4_qp *qp;\r
+       struct mlx4_qp *qp = NULL;\r
        int ne;\r
        int err = CQ_EMPTY;\r
 \r