Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Fix some minor issues from static code scan #351

Merged
merged 1 commit into from
Mar 3, 2021
Merged

Fix some minor issues from static code scan #351

merged 1 commit into from
Mar 3, 2021

Commits on Mar 2, 2021

  1. Fix some minor issues from static code scan

    Adjust the code according to the analysis result of Klocwork and fix
    some coding style issues.
    
    * Type cast the instant value so that operands in a bitwise operation
      have the same size;
    * Judge whether the pointer variable is NULL before accessing it;
    * Initialize the variable to prevent returning it directly;
    * Trim trailing spaces.
    
    Signed-off-by: Wenchao Wang <wenchao.wang@intel.com>
    wcwang committed Mar 2, 2021
    Configuration menu
    Copy the full SHA
    cd7cc62 View commit details
    Browse the repository at this point in the history