summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-02-06 13:18:28 +0100
committerMichael Schroeder <mls@suse.de>2012-02-06 13:18:28 +0100
commit325a39ce28b21392e20bcaa8308012c97f8523ee (patch)
tree85c67664b64a051a48f161facd18c5069d8a885e /ext
parent8ba3467c8afc6d895939dae11f428de18ebbab6c (diff)
downloadlibsolv-325a39ce28b21392e20bcaa8308012c97f8523ee.tar.gz
libsolv-325a39ce28b21392e20bcaa8308012c97f8523ee.tar.bz2
libsolv-325a39ce28b21392e20bcaa8308012c97f8523ee.zip
- add long forgotten break statement...
Diffstat (limited to 'ext')
-rw-r--r--ext/repo_repomdxml.c3
1 files changed, 2 insertions, 1 deletions
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;
}