From: Panu Matilainen Date: Mon, 28 Apr 2008 18:37:47 +0000 (+0300) Subject: Remove unnecessary block which just messes up indentation X-Git-Tag: rpm-4.6.0-rc1~717 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a0797f0237e42556400f7107108f1687bcf097e2;p=platform%2Fupstream%2Frpm.git Remove unnecessary block which just messes up indentation --- diff --git a/build/files.c b/build/files.c index 6350af1..10040c4 100644 --- a/build/files.c +++ b/build/files.c @@ -846,6 +846,7 @@ static rpmRC parseForSimple(rpmSpec spec, Package pkg, char * buf, t = buf; while ((s = strtokWithQuotes(t, " \t\n")) != NULL) { + VFA_t *vfa; t = NULL; if (!strcmp(s, "%docdir")) { s = strtokWithQuotes(NULL, " \t\n"); @@ -859,8 +860,7 @@ static rpmRC parseForSimple(rpmSpec spec, Package pkg, char * buf, break; } - /* Set flags for virtual file attributes */ - { VFA_t *vfa; + /* Set flags for virtual file attributes */ for (vfa = virtualFileAttributes; vfa->attribute != NULL; vfa++) { if (strcmp(s, vfa->attribute)) continue; @@ -873,13 +873,11 @@ static rpmRC parseForSimple(rpmSpec spec, Package pkg, char * buf, else fl->currentFlags |= vfa->flag; } - break; } /* if we got an attribute, continue with next token */ if (vfa->attribute != NULL) continue; - } if (*fileName) { /* We already got a file -- error */