Debian Package rebuild

Rebuild of the Debian archive with clang

"Potential usage of an uninitialized variable" build failure(s)
clang 13.0.0
Return to the list
int f(int b) {
  int n;
  if (b)
    n = 1;
  return n;
}
In some cases, n can be uninitialized.
gcc -Werror plop.c will accept this code while clang -Werror plop.c will fail.
Versions: 2.9 - 3.0 - 3.1 - 3.2 - 3.3 - 3.4 - 3.4.2 - 3.5.0 - 3.6.0 - 3.8.1 - 3.9.1 - 4.0.1 - 5.0 - 6.0 - 8.0.1 - 9.0.1 - 10.0.0 - 11.0.0 - 12.0.1 - 13.0.0
PackageVersionSupposed error messageFull log Bug report
cryptsetup 2:2.4.1-1debian/scripts/suspend/cryptsetup-suspend.c:65:9: error: variable 'd_size' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] Log
monkeysphere 0.43-3.1src/agent-transfer/main.c:409:14: error: variable 'mpilen' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] Log
2 errors
Return to the list