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:
committed by
Miciah Dashiel Butler Masters
parent
5ca5381fbc
commit
11c90e7205
@@ -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) {
|
||||
|
Reference in New Issue
Block a user