Skip to content
Snippets Groups Projects
Commit 8e88af73 authored by rswindell's avatar rswindell
Browse files

Changed string constants to macros to shut-up gcc about unused variables.

parent b926a9e4
No related branches found
No related tags found
No related merge requests found
......@@ -45,15 +45,12 @@
#include "websrvr.h" /* services_startup_t */
#include "ini_file.h"
#ifdef __BORLANDC__
#pragma warn -pch
#endif
static const char* strJavaScriptMaxBytes ="JavaScriptMaxBytes";
static const char* strJavaScriptContextStack ="JavaScriptContextStack";
static const char* strJavaScriptBranchLimit ="JavaScriptBranchLimit";
static const char* strJavaScriptGcInterval ="JavaScriptGcInterval";
static const char* strJavaScriptYieldInterval ="JavaScriptYieldInterval";
static const char* strSemFileCheckFrequency ="SemFileCheckFrequency";
#define strJavaScriptMaxBytes "JavaScriptMaxBytes"
#define strJavaScriptContextStack "JavaScriptContextStack"
#define strJavaScriptBranchLimit "JavaScriptBranchLimit"
#define strJavaScriptGcInterval "JavaScriptGcInterval"
#define strJavaScriptYieldInterval "JavaScriptYieldInterval"
#define strSemFileCheckFrequency "SemFileCheckFrequency"
#if defined(__cplusplus)
extern "C" {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment