summaryrefslogtreecommitdiff
path: root/nsprpub/pr/tests/rwlockrank.c
diff options
context:
space:
mode:
Diffstat (limited to 'nsprpub/pr/tests/rwlockrank.c')
-rw-r--r--nsprpub/pr/tests/rwlockrank.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/nsprpub/pr/tests/rwlockrank.c b/nsprpub/pr/tests/rwlockrank.c
index 5872fa1743..d77eb9680a 100644
--- a/nsprpub/pr/tests/rwlockrank.c
+++ b/nsprpub/pr/tests/rwlockrank.c
@@ -64,13 +64,15 @@ int main(int argc, char **argv)
PLOptState *opt = PL_CreateOptState(argc, argv, "d");
while (PL_OPT_EOL != (os = PL_GetNextOpt(opt))) {
- if (PL_OPT_BAD == os) continue;
+ if (PL_OPT_BAD == os) {
+ continue;
+ }
switch (opt->option) {
- case 'd': /* debug mode */
- _debug_on = 1;
- break;
- default:
- break;
+ case 'd': /* debug mode */
+ _debug_on = 1;
+ break;
+ default:
+ break;
}
}
PL_DestroyOptState(opt);