lp:minicoredumper

Get this repository:
git clone https://git.launchpad.net/minicoredumper

Import details

Import Status: Reviewed

This repository is an import of the Git repository at https://github.com/diamon/minicoredumper.git.

The next import is scheduled to run .

Last successful import was .

Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 25 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 10 seconds — see the log

Branches

Name Last Modified Last Commit
master 2024-01-29 10:36:38 UTC
corestripper: Fix uninitialized warning

Author: Khem Raj
Author Date: 2024-01-23 19:36:41 UTC

corestripper: Fix uninitialized warning

Clang finds more open paths where ret can be uninitialized

Fixes
| ../../../git/src/minicoredumper/corestripper.c:2768:13: error: variable 'ret' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
| 2768 | } else if (di->core_fd >= 0) {
| | ^~~~~~~~~~~~~~~~
| ../../../git/src/minicoredumper/corestripper.c:2773:9: note: uninitialized use occurs here
| 2773 | return ret;
| | ^~~
| ../../../git/src/minicoredumper/corestripper.c:2768:9: note: remove the 'if' if its condition is always true
| 2768 | } else if (di->core_fd >= 0) {
| | ^~~~~~~~~~~~~~~~~~~~~
| ../../../git/src/minicoredumper/corestripper.c:2763:9: note: initialize the variable 'ret' to silence this warning
| 2763 | int ret;
| | ^
| | = 0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: John Ogness <john.ogness@linutronix.de>

11 of 1 result
This repository contains Public information 
Everyone can see this information.