summaryrefslogtreecommitdiff
path: root/pr/src/md/os2
diff options
context:
space:
mode:
authorWan-Teh Chang <wtc@google.com>2014-12-01 18:22:29 -0800
committerWan-Teh Chang <wtc@google.com>2014-12-01 18:22:29 -0800
commitc2c70636f8b85935f58873f524d63aad394760e1 (patch)
treece3d867127e4aba306eb367d29692f4717800adb /pr/src/md/os2
parente57efa7526b98272de8fa886ec752af1b6187e32 (diff)
downloadnspr-hg-c2c70636f8b85935f58873f524d63aad394760e1.tar.gz
Bug 1106600: Replace PR_ASSERT(!"foo") with PR_NOT_REACHED("foo")
to fix clang -Wstring-conversion warnings. In pr/tests/multiwait.c, replace MW_ASSERT(!"foo") with MW_ASSERT(PR_FALSE && "foo"). r=thakis.
Diffstat (limited to 'pr/src/md/os2')
-rw-r--r--pr/src/md/os2/os2thred.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pr/src/md/os2/os2thred.c b/pr/src/md/os2/os2thred.c
index b918a741..edb9f5f0 100644
--- a/pr/src/md/os2/os2thred.c
+++ b/pr/src/md/os2/os2thred.c
@@ -272,7 +272,7 @@ PR_EXTERN(PRInt32)
_PR_MD_SETTHREADAFFINITYMASK(PRThread *thread, PRUint32 mask )
{
/* Can we do this on OS/2? Only on SMP versions? */
- PR_ASSERT(!"Not implemented");
+ PR_NOT_REACHED("Not implemented");
return 0;
/* This is what windows does:
@@ -288,7 +288,7 @@ PR_EXTERN(PRInt32)
_PR_MD_GETTHREADAFFINITYMASK(PRThread *thread, PRUint32 *mask)
{
/* Can we do this on OS/2? Only on SMP versions? */
- PR_ASSERT(!"Not implemented");
+ PR_NOT_REACHED("Not implemented");
return 0;
/* This is what windows does: