Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/delta.c
diff options
context:
space:
mode:
authorMichael Straube <straubem@gmx.de>2017-07-15 14:56:30 +0200
committerAllan McRae <allan@archlinux.org>2017-07-28 12:34:03 +1000
commit64b7edd2fed122e63abd42dbe392a6f2896a0c16 (patch)
tree39a2bfc28ca61979db4e67e6e2eab7e5476c307a /lib/libalpm/delta.c
parent064e7280cb2608747b2ce628f7e8faf7745f0707 (diff)
Fix brace coding style issues
- Add missing braces to one-line if blocks - Move opening brace to line end Signed-off-by: Michael Straube <straubem@gmx.de>
Diffstat (limited to 'lib/libalpm/delta.c')
-rw-r--r--lib/libalpm/delta.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libalpm/delta.c b/lib/libalpm/delta.c
index 89bc32ff..0138aac1 100644
--- a/lib/libalpm/delta.c
+++ b/lib/libalpm/delta.c
@@ -238,8 +238,7 @@ static alpm_list_t *find_unused(alpm_list_t *deltas, const char *to, off_t quota
for(i = vertices; i; i = i->next) {
alpm_graph_t *v = i->data;
alpm_delta_t *vdelta = v->data;
- if(strcmp(vdelta->to, to) == 0)
- {
+ if(strcmp(vdelta->to, to) == 0) {
v->weight = vdelta->download_size;
}
}