summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitri Pal <dpal@redhat.com>2012-03-15 23:31:41 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-04-05 11:20:08 -0700
commitb2784fd8bb14123deb03692932e1a0af5819aabe (patch)
tree82cb55c1a1a536b51ea1a0f060a233d28d7c6e9a
parent06212227da5a99c2957b7a90cf03d0878583e31d (diff)
downloadding-libs-b2784fd8bb14123deb03692932e1a0af5819aabe.tar.gz
ding-libs-b2784fd8bb14123deb03692932e1a0af5819aabe.tar.xz
ding-libs-b2784fd8bb14123deb03692932e1a0af5819aabe.zip
Fix indentention in the switch statement
Spotted style violation.
-rw-r--r--ini/ini_parse.c31
1 files changed, 20 insertions, 11 deletions
diff --git a/ini/ini_parse.c b/ini/ini_parse.c
index 32b4c02..b02afbe 100644
--- a/ini/ini_parse.c
+++ b/ini/ini_parse.c
@@ -699,20 +699,29 @@ static int complete_value_processing(struct parser_obj *po)
}
switch (mergemode) {
- case INI_MV1S_ERROR: insertmode = COL_INSERT_DUPERROR;
- doinsert = 1;
- break;
- case INI_MV1S_PRESERVE: insertmode = COL_INSERT_DUPERROR;
- doinsert = 1;
- suppress = 1;
- break;
- case INI_MV1S_ALLOW: insertmode = COL_INSERT_NOCHECK;
- doinsert = 1;
- break;
+ case INI_MV1S_ERROR:
+
+ insertmode = COL_INSERT_DUPERROR;
+ doinsert = 1;
+ break;
+
+ case INI_MV1S_PRESERVE:
+
+ insertmode = COL_INSERT_DUPERROR;
+ doinsert = 1;
+ suppress = 1;
+ break;
+
+ case INI_MV1S_ALLOW:
+
+ insertmode = COL_INSERT_NOCHECK;
+ doinsert = 1;
+ break;
+
case INI_MV1S_OVERWRITE: /* Special handling */
case INI_MV1S_DETECT:
default:
- break;
+ break;
}
/* Do not insert but search for dups first */