reports.c: other indentation fixes

This commit is contained in:
Silvan Calarco 2021-03-19 19:08:55 +01:00
parent b70cb5cf71
commit 8445407e9c

View File

@ -1782,7 +1782,6 @@ int print_datatables(struct configTag *ct, int arch) {
fprintf(fd," := "); fprintf(fd," := ");
fprintf_depstable_filtered_var(fd,provided->name); fprintf_depstable_filtered_var(fd,provided->name);
fprintf(fd,"_to_be_defined # "); fprintf(fd,"_to_be_defined # ");
fprintf_depstable_filtered_var(fs,provided->name); fprintf_depstable_filtered_var(fs,provided->name);
fprintf(fs,":"); fprintf(fs,":");
for (i = 0; i < provided->numproviders; i++) { for (i = 0; i < provided->numproviders; i++) {
@ -1843,8 +1842,7 @@ int print_datatables(struct configTag *ct, int arch) {
if (currheaderlist->require[i]->resolved->numproviders == 0) { if (currheaderlist->require[i]->resolved->numproviders == 0) {
fprintf_depstable_filtered_var(fd,currheaderlist->require[i]->resolved->name); fprintf_depstable_filtered_var(fd,currheaderlist->require[i]->resolved->name);
fprintf(fd,"_unresolved_ "); fprintf(fd,"_unresolved_ ");
} } else if (currheaderlist->require[i]->resolved->numproviders == 1) {
else if (currheaderlist->require[i]->resolved->numproviders == 1) {
if ((i == 0 || if ((i == 0 ||
!currheaderlist->require[i-1]->resolved || !currheaderlist->require[i-1]->resolved ||
!currheaderlist->require[i-1]->resolved->numproviders || !currheaderlist->require[i-1]->resolved->numproviders ||
@ -1938,11 +1936,8 @@ int print_datatables(struct configTag *ct, int arch) {
currheadersourcelist = ct->headersourcelist; currheadersourcelist = ct->headersourcelist;
logmsg(LOG_DEBUG,"writing builds and sources files (2)"); logmsg(LOG_DEBUG,"writing builds and sources files (2)");
while (currheadersourcelist != NULL) { while (currheadersourcelist != NULL) {
currchild = currheadersourcelist->firstchild[arch]; currchild = currheadersourcelist->firstchild[arch];
if (currchild) { if (currchild) {
fprintf(fbsh,"[ \"$pkg\" = \"%s\" ] && { pkg_header=(%s %s %s %s \"%s\" \"%s\" %ld %ld %d %s); ", fprintf(fbsh,"[ \"$pkg\" = \"%s\" ] && { pkg_header=(%s %s %s %s \"%s\" \"%s\" %ld %ld %d %s); ",
currheadersourcelist->name, currheadersourcelist->name,
currheadersourcelist->name, currheadersourcelist->name,
@ -1957,7 +1952,6 @@ int print_datatables(struct configTag *ct, int arch) {
ct->repository[currheadersourcelist->altrepository]->tag); ct->repository[currheadersourcelist->altrepository]->tag);
fprintf(fb,"%s:", fprintf(fb,"%s:",
currheadersourcelist->name); currheadersourcelist->name);
fprintf(fbsh,"pkg_builds=("); fprintf(fbsh,"pkg_builds=(");
obsoletebuf[0] = '\0'; obsoletebuf[0] = '\0';
@ -1994,7 +1988,6 @@ int print_datatables(struct configTag *ct, int arch) {
} }
fprintf(fbsh,"); }\n"); fprintf(fbsh,"); }\n");
fprintf(fb,"\n"); fprintf(fb,"\n");
} }
currheadersourcelist = currheadersourcelist->next; currheadersourcelist = currheadersourcelist->next;
} }