summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2018-03-22 13:00:33 -0400
committerRay Strode <rstrode@redhat.com>2018-04-03 10:49:41 -0400
commitc91a99e6591b1e75e596566215eed76584f0c77a (patch)
treed657d68d13d9d3ab9ddcc05cd8db41d122861ec7
parentdbd710c12ec60a2256ab0ffc95f4a94d2b5c5ee4 (diff)
downloadpolkit-c91a99e6591b1e75e596566215eed76584f0c77a.tar.gz
jsauthority: s/JSVAL_VOID/JS::UndefinedValue()/
This commit does a global search and replace for JSVAL_VOID to JS::UndefinedValue() Signed-off-by: Ray Strode <rstrode@redhat.com> https://bugs.freedesktop.org/show_bug.cgi?id=105865
-rw-r--r--src/polkitbackend/polkitbackendjsauthority.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polkitbackend/polkitbackendjsauthority.cpp b/src/polkitbackend/polkitbackendjsauthority.cpp
index eb22597..cef1b1a 100644
--- a/src/polkitbackend/polkitbackendjsauthority.cpp
+++ b/src/polkitbackend/polkitbackendjsauthority.cpp
@@ -1305,7 +1305,7 @@ js_polkit_log (JSContext *cx,
ret = true;
- JS_SET_RVAL (cx, vp, JSVAL_VOID); /* return undefined */
+ JS_SET_RVAL (cx, vp, JS::UndefinedValue()); /* return undefined */
out:
return ret;
}