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

libcgroup / libcgroup / 5578602760
56%

Build:
DEFAULT BRANCH: main
Ran 17 Jul 2023 05:17PM UTC
Jobs 2
Files 28
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

pending completion
5578602760

push

github

drakenclimber
api: cg_move_task_files() - rearrange code to avoid extra check

Fix unused variables, reported by the Coverity tool:

CID 320878 (#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.

Currently, in cg_move_task_files(), the ret is checked for ESRCH and set
to zero, if true, and for other error values it executes the error path
but immediately the ret is over-written without reading the set zero,
re-arrange the code to such that only the error path is executed and ret
is not set to zero.

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

1 of 2 new or added lines in 1 file covered. (50.0%)

947 existing lines in 20 files now uncovered.

4586 of 9396 relevant lines covered (48.81%)

227.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Cgroup v1 Functional Tests - 5578602760.1 17 Jul 2023 05:20PM UTC 0
44.98
GitHub Action Run
2 Unit Tests - 5578602760.2 17 Jul 2023 05:17PM UTC 0
11.1
GitHub Action Run
Source Files on build 5578602760
Detailed source file information is not available for this build.
  • Back to Repo
  • 487b2343 on github
  • Prev Build on main (#5535396862)
  • Next Build on main (#5578643042)
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