From a0797f0237e42556400f7107108f1687bcf097e2 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Mon, 28 Apr 2008 21:37:47 +0300 Subject: [PATCH] Remove unnecessary block which just messes up indentation --- build/files.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 */ -- 2.7.4