Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
H hardware_libhardware
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • halo
  • hardware_libhardware
  • Repository

Switch branch/tag
  • hardware_libhardware
  • hardware.c
Find file BlameHistoryPermalink
  • Andrei V. FOMITCHEV's avatar
    initialization of defined variables · ec2ddf56
    Andrei V. FOMITCHEV authored Oct 19, 2012
    
    
    Because in functions of hardware.c, the variables are
    not initialized when they are defined, valgrind indicates
    that these variables are used as uninitialised! So,
    the purpose of this patch is initialization of varaibles.
    In the same way, the patch fixes the compilation warning
    (unused variable).
    
    Change-Id: Ibaab89d7b57eb9e3a1f46c3af61705a39be10e16
    Signed-off-by: default avatarAndrei V. FOMITCHEV <andreix.fomitchev@intel.com>
    Signed-off-by: default avatarJin Wei <wei.a.jin@intel.com>
    ec2ddf56
hardware.c 5.49 KB
EditWeb IDE

Replace hardware.c

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.