summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2022-03-15 14:59:16 +0200
committerGitHub <noreply@github.com>2022-03-15 14:59:16 +0200
commitc05d44f59ee2a2e4c70a2c1dbbd295855ecef2bc (patch)
treefcb7ee1063e2cd501ff1ebbf79740ec65d3f0482 /web
parent1af82e4afb59d226c41305eecacfc794696b0821 (diff)
chore: remove "web files" options leftovers (#12403)
Diffstat (limited to 'web')
-rw-r--r--web/api/tests/valid_urls.c4
-rw-r--r--web/api/tests/web_api.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/web/api/tests/valid_urls.c b/web/api/tests/valid_urls.c
index 30ae23247c..30dc298285 100644
--- a/web/api/tests/valid_urls.c
+++ b/web/api/tests/valid_urls.c
@@ -75,9 +75,9 @@ void __wrap_finished_web_request_statistics(
char *__wrap_config_get(struct config *root, const char *section, const char *name, const char *default_value)
{
- if (!strcmp(section, CONFIG_SECTION_WEB) && !strcmp(name, "web files owner"))
- return "netdata";
(void)root;
+ (void)section;
+ (void)name;
(void)default_value;
return "UNKNOWN FIX ME";
}
diff --git a/web/api/tests/web_api.c b/web/api/tests/web_api.c
index b96213255b..df4efdabd2 100644
--- a/web/api/tests/web_api.c
+++ b/web/api/tests/web_api.c
@@ -75,9 +75,9 @@ void __wrap_finished_web_request_statistics(
char *__wrap_config_get(struct config *root, const char *section, const char *name, const char *default_value)
{
- if (!strcmp(section, CONFIG_SECTION_WEB) && !strcmp(name, "web files owner"))
- return "netdata";
(void)root;
+ (void)section;
+ (void)name;
(void)default_value;
return "UNKNOWN FIX ME";
}