diff options
author | Wissam Shoukair <wissams@mellanox.com> | 2016-04-05 13:39:08 +0300 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2016-04-12 13:38:10 +0100 |
commit | ffd959a1d6a0e93d57bb6c0f33bbc2792c296e65 (patch) | |
tree | 7eabdcf84df58a06d5261f0e9d66c7c6beaca436 /src/drivers/infiniband | |
parent | 5238c85b623200fa0f44a46db93965080053f745 (diff) | |
download | ipxe-ffd959a1d6a0e93d57bb6c0f33bbc2792c296e65.tar.gz |
[mlx_icmd] Fix compilation error in GCC versions newer than 4.6.4
Signed-off-by: Wissam Shoukair <wissams@mellanox.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/infiniband')
-rw-r--r-- | src/drivers/infiniband/mlx_utils/src/public/mlx_icmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/infiniband/mlx_utils/src/public/mlx_icmd.c b/src/drivers/infiniband/mlx_utils/src/public/mlx_icmd.c index e42067393..f7d365dee 100644 --- a/src/drivers/infiniband/mlx_utils/src/public/mlx_icmd.c +++ b/src/drivers/infiniband/mlx_utils/src/public/mlx_icmd.c @@ -316,7 +316,7 @@ mlx_icmd_send_command( ) { mlx_status status = MLX_SUCCESS; - mlx_uint32 icmd_status; + mlx_uint32 icmd_status = MLX_FAILED; if (utils == NULL || data == NULL) { status = MLX_INVALID_PARAMETER; |