0
0
mirror of https://github.com/rkd77/elinks.git synced 2025-09-21 19:46:23 -04:00

Add some assertions.

This commit is contained in:
Miciah Dashiel Butler Masters
2005-12-19 21:24:27 +00:00
committed by Miciah Dashiel Butler Masters
parent 5ca5381fbc
commit 11c90e7205
3 changed files with 10 additions and 0 deletions

View File

@@ -74,6 +74,8 @@ smjs_load_hooks(void)
struct string script;
unsigned char *path;
assert(smjs_ctx);
if (!init_string(&script)) return;
if (elinks_home) {