summaryrefslogtreecommitdiff
path: root/nsprpub/pr/tests/rwlockrank.c
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-01-02 21:01:38 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-01-02 21:01:38 +0100
commit3da02d6ad309ee37edc641e9de132dd37c80f10a (patch)
tree5f3e07a049f388a3a309a615b8884318f6668a98 /nsprpub/pr/tests/rwlockrank.c
parent73089ac7b9ff402fd5d5cd5b8c7c62d0b5ae38f3 (diff)
downloaduxp-3da02d6ad309ee37edc641e9de132dd37c80f10a.tar.gz
Issue mcp-graveyard/UXP#1338 - Part 1: Update NSPR to 4.24
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);