• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

libcgroup / libcgroup / 5488199755 / 3
56%
main: 56%

Build:
DEFAULT BRANCH: main
Ran 07 Jul 2023 04:40PM UTC
Files 25
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Jul 2023 03:46PM UTC coverage: 53.319% (-0.005%) from 53.324%
5488199755.3

push

github

drakenclimber
tools/cgxget: fix unused value in main

Fix unused value, reported by the Coverity tool:

CID 320879 (#1 of 1): Unused value (UNUSED_VALUE)assigned_value:
Assigning value 0 to ret here, but that stored value is overwritten
before it can be used.

If the mapping from v1->v2 and vice versa fail, with -i
(ignore-unmappable) set, ret is set to zero and is immediately
over-written, re-arrange the check, and adjust the commentary to avoid
clobbering ret, by taking the error path when -i is unset or else
continuing when set, skipping to set ret to zero.

Suggested-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>

4980 of 9340 relevant lines covered (53.32%)

355.91 hits per line

Source Files on job Cgroup v1/v2 Functional Tests - 5488199755.3
  • Tree
  • List 0
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5488199755
  • 9a12c154 on github
  • Prev Job for on main (#5465904506.3)
  • Next Job for on main (#5488214083.4)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc