mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-15 06:35:46 +00:00
Fixed loads of /W4 warnings, because it's easier than doing anything useful. Added some asserts to check potentially dangerous assumptions, implemented a few missing bits of code, adjusted some comments, etc.
This was SVN commit r814.
This commit is contained in:
@@ -308,6 +308,8 @@ double ScriptingHost::ValueToDouble(const jsval value)
|
||||
|
||||
void ScriptingHost::ErrorReporter(JSContext * context, const char * message, JSErrorReport * report)
|
||||
{
|
||||
UNUSED(context);
|
||||
|
||||
debug_out("%s(%d) : %s\n", report->filename, report->lineno, message);
|
||||
|
||||
if (g_Console)
|
||||
|
||||
Reference in New Issue
Block a user