Debian Package rebuild

Rebuild of the Debian archive with clang

"Potential usage of an uninitialized variable" build failure(s)
clang 3.5.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
PackageVersionSupposed error messageFull log Bug report
altermime 0.3.10-7mime_alter.c:709:13: error: variable 'newblock' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] Log 753058
tpm-tools 1.3.8-1tpm_present.c:189:9: error: variable 'hTpmPolicy' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] Log 753063
u1db 13.10-3u1db_query.c:902:9: error: variable 'statement' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] Log
vzquota 3.1-1quotaon.c:1002:7: error: variable 'ugid' is used uninitialized whenever '||' condition is true [-Werror,-Wsometimes-uninitialized] Log 753065
wbar 2.3.4-2../src/core/SuperBar.cc:138:8: error: variable 'textW' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] Log 741741
x86info 1.30-3lsmsr.c:168:6: error: variable 'val' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] Log 753066
6 errors
Return to the list