From: Michael Schroeder Date: Mon, 6 Feb 2012 12:18:28 +0000 (+0100) Subject: - add long forgotten break statement... X-Git-Tag: BASE-SuSE-Code-12_2-Branch~178 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=325a39ce28b21392e20bcaa8308012c97f8523ee;p=platform%2Fupstream%2Flibsolv.git - add long forgotten break statement... --- diff --git a/ext/repo_repomdxml.c b/ext/repo_repomdxml.c index 5a2bb47..9f466dd 100644 --- a/ext/repo_repomdxml.c +++ b/ext/repo_repomdxml.c @@ -300,6 +300,7 @@ startElement(void *userData, const char *name, const char **atts) const char *href = find_attr("href", atts); if (href) repodata_set_str(pd->data, pd->rdhandle, REPOSITORY_REPOMD_LOCATION, href); + break; } case STATE_CHECKSUM: case STATE_OPENCHECKSUM: @@ -311,8 +312,8 @@ startElement(void *userData, const char *name, const char **atts) fprintf(stderr, "Unknown checksum type: %d: %s\n", (unsigned int)XML_GetCurrentLineNumber(*pd->parser), type ? type : "NULL"); exit(1); } + break; } - break; default: break; }