a couple of fixes to make llvm-analyze quiet

This commit is contained in:
Lennart Poettering
2012-03-15 20:49:25 +01:00
parent 490e567dbb
commit 34a35eced4
6 changed files with 26 additions and 34 deletions
+1 -1
View File
@@ -284,7 +284,7 @@ int main(int argc, char *argv[]) {
line ++;
r = output_journal(j, arg_output, line, arg_show_all);
r = output_journal(j, arg_output, line, 0, arg_show_all);
if (r < 0)
goto finish;
+3 -6
View File
@@ -154,13 +154,10 @@ static uint64_t available_space(Server *s) {
for (;;) {
struct stat st;
struct dirent buf, *de;
int k;
k = readdir_r(d, &buf, &de);
if (k != 0) {
r = -k;
goto finish;
}
r = readdir_r(d, &buf, &de);
if (r != 0)
break;
if (!de)
break;