null+****@clear*****
null+****@clear*****
2012年 3月 12日 (月) 16:15:02 JST
Susumu Yata 2012-03-12 16:15:02 +0900 (Mon, 12 Mar 2012)
New Revision: 2f97f2aef1aef8cb8e8d388d2208db4d54f585c6
Log:
remove an unnecessary variable admin_html_path.
Modified files:
src/groonga.c
Modified: src/groonga.c (+2 -6)
===================================================================
--- src/groonga.c 2012-03-12 16:11:33 +0900 (c7fad8f)
+++ src/groonga.c 2012-03-12 16:15:02 +0900 (e4a8de5)
@@ -2182,7 +2182,7 @@ main(int argc, char **argv)
const char *portstr = NULL, *encstr = NULL,
*max_nfthreadsstr = NULL, *loglevel = NULL,
*bind_addressstr = NULL, *hostnamestr = NULL, *protocol = NULL,
- *cache_limitstr = NULL, *admin_html_path = NULL, *command_versionstr = NULL,
+ *cache_limitstr = NULL, *command_versionstr = NULL,
*match_escalation_thresholdstr = NULL;
const char *config_path = NULL;
int r, i, mode = mode_alone;
@@ -2305,11 +2305,7 @@ main(int argc, char **argv)
}
}
if (!grn_document_root) {
- if (admin_html_path) {
- grn_document_root = admin_html_path;
- } else {
- grn_document_root = default_document_root();
- }
+ grn_document_root = default_document_root();
}
if (protocol) {
switch (*protocol) {