From 3a76da248d2c3b8cf90ade4a441dd99c4583183f Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 26 May 2008 14:08:17 +0200 Subject: Remove unused libjs functions. (This used to be commit 657a87fecc2e79e3c3f66c551e392cc341bca8cf) --- source4/scripting/libjs/base.js | 53 --------------- source4/scripting/libjs/encoder.js | 116 --------------------------------- source4/scripting/libjs/server_call.js | 83 ----------------------- 3 files changed, 252 deletions(-) delete mode 100644 source4/scripting/libjs/encoder.js delete mode 100644 source4/scripting/libjs/server_call.js diff --git a/source4/scripting/libjs/base.js b/source4/scripting/libjs/base.js index d861073a07..790dfeb3e0 100644 --- a/source4/scripting/libjs/base.js +++ b/source4/scripting/libjs/base.js @@ -20,48 +20,6 @@ function printf() print(vsprintf(arguments)); } -/* - helper function to setup a rpc io object, ready for input -*/ -function irpcObj() -{ - var o = new Object(); - o.input = new Object(); - return o; -} - -/* - check that a status result is OK -*/ -function check_status_ok(status) -{ - if (status.is_ok != true) { - printVars(status); - } - assert(status.is_ok == true); -} - -/* - check that two arrays are equal -*/ -function check_array_equal(a1, a2) -{ - assert(a1.length == a2.length); - for (i=0; i