Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/2cbb337756d9af5bda4d594964d446439f602551
...commit
http://git.netsurf-browser.org/netsurf.git/commit/2cbb337756d9af5bda4d594964d446439f602551
...tree
http://git.netsurf-browser.org/netsurf.git/tree/2cbb337756d9af5bda4d594964d446439f602551
The branch, master has been updated
via 2cbb337756d9af5bda4d594964d446439f602551 (commit)
from 510203b246edc70656c404949a86accd54880610 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=2cbb337756d9af5bda4d594964d446439f602551
commit 2cbb337756d9af5bda4d594964d446439f602551
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
Squash harmless Clang warning introduced in Duktape 1.5.0.
duk_error_macros.c:61:19: warning: unused function
'duk_err_unsupported_defmsg' [-Wunused-function]
diff --git a/javascript/duktape/duktape.c b/javascript/duktape/duktape.c
index 3ae5e46..eb4c77a 100644
--- a/javascript/duktape/duktape.c
+++ b/javascript/duktape/duktape.c
@@ -7891,9 +7891,11 @@ DUK_INTERNAL_DECL duk_bool_t
duk_fb_is_full(duk_fixedbuffer *fb);
#define DUK_ERROR_UNSUPPORTED(thr,msg) do { \
DUK_ERROR((thr), DUK_ERR_UNSUPPORTED_ERROR, (msg)); \
} while (0)
+#ifndef DUK_USE_BYTECODE_DUMP_SUPPORT
#define DUK_ERROR_UNSUPPORTED_DEFMSG(thr) do { \
duk_err_unsupported_defmsg((thr), DUK_FILE_MACRO, (duk_int_t)
DUK_LINE_MACRO); \
} while (0)
+#endif
#define DUK_ERROR_INTERNAL(thr,msg) do { \
duk_err_internal((thr), DUK_FILE_MACRO, (duk_int_t)
DUK_LINE_MACRO, (msg)); \
} while (0)
@@ -8011,7 +8013,9 @@ DUK_NORETURN(DUK_INTERNAL_DECL void
duk_err_api_index(duk_hthread *thr, const ch
DUK_NORETURN(DUK_INTERNAL_DECL void duk_err_api(duk_hthread *thr, const char
*filename, duk_int_t linenumber, const char *message));
DUK_NORETURN(DUK_INTERNAL_DECL void duk_err_range(duk_hthread *thr, const char
*filename, duk_int_t linenumber, const char *message));
DUK_NORETURN(DUK_INTERNAL_DECL void duk_err_unimplemented_defmsg(duk_hthread
*thr, const char *filename, duk_int_t linenumber));
+#ifndef DUK_USE_BYTECODE_DUMP_SUPPORT
DUK_NORETURN(DUK_INTERNAL_DECL void duk_err_unsupported_defmsg(duk_hthread
*thr, const char *filename, duk_int_t linenumber));
+#endif
DUK_NORETURN(DUK_INTERNAL_DECL void duk_err_internal_defmsg(duk_hthread *thr,
const char *filename, duk_int_t linenumber));
DUK_NORETURN(DUK_INTERNAL_DECL void duk_err_internal(duk_hthread *thr, const
char *filename, duk_int_t linenumber, const char *message));
DUK_NORETURN(DUK_INTERNAL_DECL void duk_err_alloc(duk_hthread *thr, const char
*filename, duk_int_t linenumber, const char *message));
@@ -9834,9 +9838,11 @@ DUK_INTERNAL void duk_err_api(duk_hthread *thr, const
char *filename, duk_int_t
DUK_INTERNAL void duk_err_unimplemented_defmsg(duk_hthread *thr, const char
*filename, duk_int_t linenumber) {
DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_UNIMPLEMENTED_ERROR,
DUK_STR_UNIMPLEMENTED);
}
+#ifndef DUK_USE_BYTECODE_DUMP_SUPPORT
DUK_INTERNAL void duk_err_unsupported_defmsg(duk_hthread *thr, const char
*filename, duk_int_t linenumber) {
DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_UNSUPPORTED_ERROR,
DUK_STR_UNSUPPORTED);
}
+#endif
DUK_INTERNAL void duk_err_internal_defmsg(duk_hthread *thr, const char
*filename, duk_int_t linenumber) {
DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_INTERNAL_ERROR,
DUK_STR_INTERNAL_ERROR);
}
-----------------------------------------------------------------------
Summary of changes:
javascript/duktape/duktape.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/javascript/duktape/duktape.c b/javascript/duktape/duktape.c
index 3ae5e46..eb4c77a 100644
--- a/javascript/duktape/duktape.c
+++ b/javascript/duktape/duktape.c
@@ -7891,9 +7891,11 @@ DUK_INTERNAL_DECL duk_bool_t
duk_fb_is_full(duk_fixedbuffer *fb);
#define DUK_ERROR_UNSUPPORTED(thr,msg) do { \
DUK_ERROR((thr), DUK_ERR_UNSUPPORTED_ERROR, (msg)); \
} while (0)
+#ifndef DUK_USE_BYTECODE_DUMP_SUPPORT
#define DUK_ERROR_UNSUPPORTED_DEFMSG(thr) do { \
duk_err_unsupported_defmsg((thr), DUK_FILE_MACRO, (duk_int_t)
DUK_LINE_MACRO); \
} while (0)
+#endif
#define DUK_ERROR_INTERNAL(thr,msg) do { \
duk_err_internal((thr), DUK_FILE_MACRO, (duk_int_t)
DUK_LINE_MACRO, (msg)); \
} while (0)
@@ -8011,7 +8013,9 @@ DUK_NORETURN(DUK_INTERNAL_DECL void
duk_err_api_index(duk_hthread *thr, const ch
DUK_NORETURN(DUK_INTERNAL_DECL void duk_err_api(duk_hthread *thr, const char
*filename, duk_int_t linenumber, const char *message));
DUK_NORETURN(DUK_INTERNAL_DECL void duk_err_range(duk_hthread *thr, const char
*filename, duk_int_t linenumber, const char *message));
DUK_NORETURN(DUK_INTERNAL_DECL void duk_err_unimplemented_defmsg(duk_hthread
*thr, const char *filename, duk_int_t linenumber));
+#ifndef DUK_USE_BYTECODE_DUMP_SUPPORT
DUK_NORETURN(DUK_INTERNAL_DECL void duk_err_unsupported_defmsg(duk_hthread
*thr, const char *filename, duk_int_t linenumber));
+#endif
DUK_NORETURN(DUK_INTERNAL_DECL void duk_err_internal_defmsg(duk_hthread *thr,
const char *filename, duk_int_t linenumber));
DUK_NORETURN(DUK_INTERNAL_DECL void duk_err_internal(duk_hthread *thr, const
char *filename, duk_int_t linenumber, const char *message));
DUK_NORETURN(DUK_INTERNAL_DECL void duk_err_alloc(duk_hthread *thr, const char
*filename, duk_int_t linenumber, const char *message));
@@ -9834,9 +9838,11 @@ DUK_INTERNAL void duk_err_api(duk_hthread *thr, const
char *filename, duk_int_t
DUK_INTERNAL void duk_err_unimplemented_defmsg(duk_hthread *thr, const char
*filename, duk_int_t linenumber) {
DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_UNIMPLEMENTED_ERROR,
DUK_STR_UNIMPLEMENTED);
}
+#ifndef DUK_USE_BYTECODE_DUMP_SUPPORT
DUK_INTERNAL void duk_err_unsupported_defmsg(duk_hthread *thr, const char
*filename, duk_int_t linenumber) {
DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_UNSUPPORTED_ERROR,
DUK_STR_UNSUPPORTED);
}
+#endif
DUK_INTERNAL void duk_err_internal_defmsg(duk_hthread *thr, const char
*filename, duk_int_t linenumber) {
DUK_ERROR_RAW(thr, filename, linenumber, DUK_ERR_INTERNAL_ERROR,
DUK_STR_INTERNAL_ERROR);
}
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org