Merge pull request #1334 from kmajzero/fix_cov_problems

Fix for Coverity CID 356469
This commit is contained in:
Robert Baldyga 2022-08-31 17:17:07 +02:00 committed by GitHub
commit d285587dc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
/* /*
* Copyright(c) 2012-2021 Intel Corporation * Copyright(c) 2012-2022 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause * SPDX-License-Identifier: BSD-3-Clause
*/ */
@ -16,7 +16,7 @@ struct progress_status {
int progress_accumulated; /*!< this is to ensure that progressbar is always int progress_accumulated; /*!< this is to ensure that progressbar is always
*!< from 0 to 100% and progress indicated by it *!< from 0 to 100% and progress indicated by it
*!< never actually drops. */ *!< never actually drops. */
int time_started; /*!< time when particular long running time_t time_started; /*!< time when particular long running
*!< operation was started */ *!< operation was started */
char *friendly_name; /*!< name of management operation that shall char *friendly_name; /*!< name of management operation that shall
*!< be displayed in command prompt */ *!< be displayed in command prompt */