summaryrefslogtreecommitdiffstats
path: root/nsprpub/pr/tests/semaerr.c
diff options
context:
space:
mode:
Diffstat (limited to 'nsprpub/pr/tests/semaerr.c')
-rw-r--r--nsprpub/pr/tests/semaerr.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/nsprpub/pr/tests/semaerr.c b/nsprpub/pr/tests/semaerr.c
index b27428f30..4e6a8ff27 100644
--- a/nsprpub/pr/tests/semaerr.c
+++ b/nsprpub/pr/tests/semaerr.c
@@ -8,15 +8,9 @@
#include <stdio.h>
-#ifdef SYMBIAN
-#define NO_SUCH_SEM_NAME "c:\\data\\nosuchsem.sem"
-#define SEM_NAME1 "c:\\data\\foo.sem"
-#define EXE_NAME "nspr_tests_semaerr1.exe"
-#else
#define NO_SUCH_SEM_NAME "/tmp/nosuchsem.sem"
#define SEM_NAME1 "/tmp/foo.sem"
#define EXE_NAME "semaerr1"
-#endif
#define SEM_MODE 0666
static PRBool debug_mode = PR_FALSE;
@@ -39,7 +33,9 @@ int main(int argc, char **argv)
PRInt32 exit_code;
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_mode = PR_TRUE;